Skip to content

Commit 77ea8a4

Browse files
committed
Remove listener on unload
1 parent 9f601f6 commit 77ea8a4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/kotlin/ExtensionReflect.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ class ExtensionReflect : ExtensionAdaptor(NAME) {
2020
}
2121
}
2222

23+
override fun unload() {
24+
HttpSender.removeListener(ReflectListener(reflectPanel))
25+
}
26+
2327
override fun canUnload(): Boolean = true
2428

2529
override fun getAuthor(): String = "Caleb Kinney"

0 commit comments

Comments
 (0)