mirror of
https://github.com/GTNewHorizons/Applied-Energistics-2-Unofficial.git
synced 2026-11-13 17:04:17 +00:00
Fix stale storage watchers after grid node removal (#1704)
This commit is contained in:
1 parent
798e465f9e
commit
c690fbc273
1 file changed
+1
-2
+1
-2
@@ -152,11 +152,10 @@ public class GridStorageCache implements IStorageGrid {
|
||||
}
|
||||
|
||||
if (machine instanceof IStackWatcherHost) {
|
||||
final IStackWatcher myWatcher = this.watchers.get(machine);
|
||||
final IStackWatcher myWatcher = this.watchers.remove(node);
|
||||
|
||||
if (myWatcher != null) {
|
||||
myWatcher.clear();
|
||||
this.watchers.remove(machine);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user