Fix Hang on MacOS on close when synching
This commit is contained in:
parent
c6c5556688
commit
02ff9a9efb
|
@ -199,6 +199,11 @@ class OnWindow extends WindowListener {
|
||||||
prefs.setDouble('width', s.width);
|
prefs.setDouble('width', s.width);
|
||||||
prefs.setDouble('height', s.height);
|
prefs.setDouble('height', s.height);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@override
|
||||||
|
void onWindowClose() async {
|
||||||
|
WarpApi.cancelSync();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void main() async {
|
void main() async {
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 078af89cae4d5e8a229aabb2bfa934e73e257094
|
Subproject commit 1a2dbc991fe877783aa7ef3c38ab323a0d220aa5
|
|
@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
||||||
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
|
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
|
||||||
# Read more about iOS versioning at
|
# Read more about iOS versioning at
|
||||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||||
version: 1.3.4+387
|
version: 1.3.4+388
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=2.12.0 <3.0.0"
|
sdk: ">=2.12.0 <3.0.0"
|
||||||
|
|
Loading…
Reference in New Issue