v1.0.46: clear stale running-timer state even when stopTimer fails in Notion
The onKeyDown stop/switch paths only cleared memRunningActionId/EntryId after a successful stopTimer call. If the tracked Notion entry was already gone (archived/deleted/edited outside the plugin), stopTimer threw and the stale ID was never cleared -- every subsequent keypress retried the same doomed stop call, showed a warning triangle, and the deck got permanently stuck (unable to unselect the stuck button or start any new timer). checkElapsed already handled this correctly by clearing state unconditionally; onKeyDown now does the same: stopTimer failures are logged but non-fatal, and local state clears regardless.
This commit is contained in:
@@ -1 +1 @@
|
||||
696’``w¾)G¶"éoÛ£šAyÍ‹xìØ“ÁÞ¶á„ÙdG»Cv+t9ãXÅü]M>IÁ¨Í–¼š²ßÁ
|
||||
%тC╧K$Яh╜╦Oвы~┘▒cc╗'cwMА▐╦Чю⌡╦\чщAД╗▐ty"0|иiНbRЖ╩/нЕ└/║
|
||||
Reference in New Issue
Block a user