hypha-rpc 0.20.98 → 0.20.99

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1777,7 +1777,7 @@ class RPC extends _utils_index_js__WEBPACK_IMPORTED_MODULE_0__.MessageEmitter {
1777
1777
  if (session.heartbeat_task) {
1778
1778
  try { clearInterval(session.heartbeat_task); } catch (e) { /* ignore */ }
1779
1779
  }
1780
- if (session.timer && typeof session.timer.clear === "function") {
1780
+ if (session.timer && session.timer.started && typeof session.timer.clear === "function") {
1781
1781
  try { session.timer.clear(); } catch (e) { /* ignore */ }
1782
1782
  }
1783
1783
  }