fix close error
This commit is contained in:
parent
a962e068f8
commit
b7a0436aa3
@ -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…
x
Reference in New Issue
Block a user