mirror of
https://github.com/AynaLivePlayer/AynaLivePlayer.git
synced 2025-12-12 05:08:12 +08:00
fix program not closed after hit close button
This commit is contained in:
@@ -17,6 +17,9 @@ func setupPlayerWindow() {
|
||||
}
|
||||
|
||||
func showPlayerWindow() {
|
||||
if playerWindow == nil {
|
||||
setupPlayerWindow()
|
||||
}
|
||||
playerWindow.Show()
|
||||
if playerWindowHandle == 0 {
|
||||
playerWindowHandle = xfyne.GetWindowHandle(playerWindow)
|
||||
|
||||
Reference in New Issue
Block a user