Skip to content

Commit

Permalink
close db connection when IME deactiveated
Browse files Browse the repository at this point in the history
  • Loading branch information
dongyuwei committed Oct 30, 2024
1 parent baec786 commit 89fb954
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/input_methods/hallelujah/ime_hallelujah.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ def onActivate(self):
self.setSelKeys("123456789")

def onDeactivate(self):
self.db_connection.close()
TextService.onDeactivate(self)

# 使用者按下按鍵,在 app 收到前先過濾那些鍵是輸入法需要的。
Expand Down

0 comments on commit 89fb954

Please sign in to comment.