tmp commit
Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
parent
8bb851704a
commit
32c349dd8b
4 changed files with 20 additions and 7 deletions
|
|
@ -40,7 +40,6 @@ class _DesktopServerPageState extends State<DesktopServerPage>
|
|||
|
||||
@override
|
||||
void dispose() {
|
||||
bind.cmClear();
|
||||
windowManager.removeListener(this);
|
||||
super.dispose();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -233,7 +233,7 @@ class PlatformFFI {
|
|||
'_appType:$_appType,info1-id:$id,info2-name:$name,dir:$_dir');
|
||||
}
|
||||
if (desktopType == DesktopType.cm) {
|
||||
await _ffiBind.cmStartListenIpcThread();
|
||||
await _ffiBind.cmInit();
|
||||
}
|
||||
await _ffiBind.mainDeviceId(id: id);
|
||||
await _ffiBind.mainDeviceName(name: name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue