Skip to content

Commit

Permalink
perf: stop monitoring event tap after hiding query icon
Browse files Browse the repository at this point in the history
  • Loading branch information
tisfeng committed Dec 19, 2023
1 parent c536943 commit c61e20c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Easydict/Feature/EventMonitor/EZEventMonitor.m
Original file line number Diff line number Diff line change
Expand Up @@ -952,6 +952,8 @@ - (void)dismissPopButton {
self.dismissPopButtonBlock();
}
self.isPopButtonVisible = NO;

[self stopCGEventTap];
}


Expand Down

0 comments on commit c61e20c

Please sign in to comment.