fix: close all typed sessions when hide subwindow
This commit is contained in:
parent
d7aa8b43c5
commit
c72e48bef1
8 changed files with 51 additions and 27 deletions
|
|
@ -117,7 +117,7 @@ class PlatformFFI {
|
|||
_homeDir = (await getDownloadsDirectory())?.path ?? "";
|
||||
}
|
||||
} catch (e) {
|
||||
print(e);
|
||||
print("initialize failed: $e");
|
||||
}
|
||||
String id = 'NA';
|
||||
String name = 'Flutter';
|
||||
|
|
@ -151,7 +151,7 @@ class PlatformFFI {
|
|||
await _ffiBind.mainSetHomeDir(home: _homeDir);
|
||||
await _ffiBind.mainInit(appDir: _dir);
|
||||
} catch (e) {
|
||||
print(e);
|
||||
print("initialize failed: $e");
|
||||
}
|
||||
version = await getVersion();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue