mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-09-27 20:17:05 +02:00
small fix for batch loaders
This commit is contained in:
@@ -109,6 +109,7 @@ export default class BatchEventLoader {
|
|||||||
}
|
}
|
||||||
|
|
||||||
destroy() {
|
destroy() {
|
||||||
|
this.subscription.destroy()
|
||||||
this.process.remove();
|
this.process.remove();
|
||||||
processManager.unregisterProcess(this.process);
|
processManager.unregisterProcess(this.process);
|
||||||
}
|
}
|
||||||
|
@@ -142,6 +142,7 @@ export default class BatchKindLoader {
|
|||||||
}
|
}
|
||||||
|
|
||||||
destroy() {
|
destroy() {
|
||||||
|
this.subscription.destroy();
|
||||||
this.process.remove();
|
this.process.remove();
|
||||||
processManager.unregisterProcess(this.process);
|
processManager.unregisterProcess(this.process);
|
||||||
}
|
}
|
||||||
|
@@ -140,6 +140,7 @@ export default class BatchRelationLoader {
|
|||||||
}
|
}
|
||||||
|
|
||||||
destroy() {
|
destroy() {
|
||||||
|
this.subscription.destroy();
|
||||||
this.process.remove();
|
this.process.remove();
|
||||||
processManager.unregisterProcess(this.process);
|
processManager.unregisterProcess(this.process);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user