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 acca035 commit 78a9e2dCopy full SHA for 78a9e2d
src/main/java/com/cleanroommc/modularui/value/sync/PanelSyncManager.java
@@ -99,6 +99,7 @@ public void onOpen() {
99
@ApiStatus.Internal
100
public void onClose() {
101
this.closeListener.forEach(listener -> listener.accept(getPlayer()));
102
+ this.syncHandlers.values().forEach(SyncHandler::dispose);
103
// Previously panel sync handlers were removed from the main psm, however this problematic if the screen will be reopened at some
104
// point. We can just not remove the sync handlers since mui has proper checks for re-registering panels.
105
}
0 commit comments