mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-18 18:42:46 +00:00
Fix race condition between polling return and onPause()
This commit is contained in:
parent
289222749b
commit
17bffa8d78
@ -69,6 +69,13 @@ public class AppViewShortcutTrampoline extends Activity {
|
||||
blockingLoadSpinner = null;
|
||||
}
|
||||
|
||||
// If the managerBinder was destroyed before this callback,
|
||||
// just finish the activity.
|
||||
if (managerBinder == null) {
|
||||
finish();
|
||||
return;
|
||||
}
|
||||
|
||||
if (details.state == ComputerDetails.State.ONLINE) {
|
||||
// Close this activity
|
||||
finish();
|
||||
|
Loading…
x
Reference in New Issue
Block a user