mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-17 14:04:52 +02:00
Add atexit cleanup via worker process to kittens infrastructure
This commit is contained in:
@@ -17,6 +17,7 @@ import (
|
||||
)
|
||||
|
||||
func KittenMain(args ...string) int {
|
||||
defer utils.WaitForAtexitWorkerToFinish()
|
||||
krm := os.Getenv("KITTY_KITTEN_RUN_MODULE")
|
||||
os.Unsetenv("KITTY_KITTEN_RUN_MODULE")
|
||||
switch krm {
|
||||
|
||||
Reference in New Issue
Block a user