maybe fix panic when close the software

This commit is contained in:
aynakeya
2024-08-25 10:43:15 -07:00
parent 23d6944a52
commit e7f7ddfe4a
3 changed files with 28 additions and 7 deletions

View File

@@ -13,9 +13,6 @@ func setupPlayerWindow() {
playerWindow.SetCloseIntercept(func() {
playerWindow.Hide()
})
MainWindow.SetOnClosed(func() {
playerWindow.Close()
})
playerWindow.Hide()
}