Watch service leaks

This commit is contained in:
M66B
2022-05-02 10:15:29 +02:00
parent 358bbaad84
commit 149539afec
8 changed files with 23 additions and 0 deletions

View File

@@ -86,6 +86,7 @@ public class ServiceTileUnseen extends TileService {
public void onDestroy() {
owner.destroy();
super.onDestroy();
CoalMine.watch(this, this.getClass().getName() + "#onDestroy");
}
public void onStartListening() {