diff options
-rw-r--r-- | main.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -75,7 +75,9 @@ func (ui *Ui) Cleanup() { defer ui.State.Unlock() if ui.State.PlayerCancel != nil { + done := ui.State.PlayerContext.Done() ui.State.PlayerCancel() + <-done } } |