mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-17 06:01:12 +00:00
Fix race condition that could cause quit segue to never dismiss
Fixes #1060
This commit is contained in:
@@ -6,6 +6,7 @@ import Session 1.0
|
||||
|
||||
Item {
|
||||
property string appName
|
||||
property var quitRunningAppFn
|
||||
property Session nextSession : null
|
||||
property string nextAppName : ""
|
||||
|
||||
@@ -37,6 +38,9 @@ Item {
|
||||
|
||||
// Connect the quit completion signal
|
||||
ComputerManager.quitAppCompleted.connect(quitAppCompleted)
|
||||
|
||||
// Start the quit operation
|
||||
quitRunningAppFn()
|
||||
}
|
||||
|
||||
StackView.onDeactivating: {
|
||||
|
||||
Reference in New Issue
Block a user