We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4749872 commit e9d9e6aCopy full SHA for e9d9e6a
server/src/core/file_mgr.rs
@@ -413,13 +413,14 @@ impl FileMgr {
413
if !found {
414
continue;
415
}
416
- let mut to_del = (**file).borrow_mut();
+ let mut to_del = file.borrow_mut();
417
to_del.replace_diagnostics(BuildSteps::SYNTAX, vec![]);
418
to_del.replace_diagnostics(BuildSteps::ARCH, vec![]);
419
to_del.replace_diagnostics(BuildSteps::ARCH_EVAL, vec![]);
420
to_del.replace_diagnostics(BuildSteps::VALIDATION, vec![]);
421
to_del.publish_diagnostics(session)
422
423
+ drop(file_mgr);
424
session.sync_odoo.get_file_mgr().borrow_mut().files.clear();
425
426
0 commit comments