mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-20 07:24:41 +02:00
Do not allow adding timers before loop is run
This commit is contained in:
@@ -203,6 +203,7 @@ func (self *Loop) run() (err error) {
|
||||
self.death_signal = SIGNULL
|
||||
self.escape_code_parser.Reset()
|
||||
self.exit_code = 0
|
||||
self.timers = make([]*timer, 0, 1)
|
||||
no_timeout_channel := make(<-chan time.Time)
|
||||
finalizer := ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user