Skip to content

Commit c84ee7d

Browse files
committed
invalidate connection after command is triggered
1 parent 4cd54c3 commit c84ee7d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

SourceEditorExtension/VoiceCodeSourceEditorCommand.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ class SourceEditorCommand: NSObject, XCSourceEditorCommand {
2424
}()
2525

2626
deinit {
27+
connection.invalidate()
2728
}
2829

2930
func isInsertionPoint(range: XCSourceTextRange) -> Bool{

0 commit comments

Comments
 (0)