mirror of
https://github.com/rustdesk/rustdesk
synced 2026-05-24 09:28:23 +00:00
fix close error
This commit is contained in:
parent
a962e068f8
commit
b7a0436aa3
1 changed files with 0 additions and 6 deletions
|
|
@ -73,7 +73,6 @@ class FileModel {
|
|||
|
||||
Future<void> close() async {
|
||||
parent.target?.dialogManager.dismissAll();
|
||||
jobController.close();
|
||||
await localController.close();
|
||||
await remoteController.close();
|
||||
}
|
||||
|
|
@ -608,11 +607,6 @@ class JobController {
|
|||
// return jobTable.firstWhere((element) => element.id == id);
|
||||
// }
|
||||
|
||||
void close() {
|
||||
jobTable.close();
|
||||
jobTable.clear();
|
||||
}
|
||||
|
||||
// return jobID
|
||||
int add(Entry from, bool isRemoteToLocal) {
|
||||
final jobID = JobController.jobID.next();
|
||||
|
|
|
|||
Loading…
Reference in a new issue