Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Reset current and default context when global object is cleared.

Hat tip to sabof.
  • Loading branch information...
commit 7ed74d1147a6ddd152d3da65dc30df3517d53144 1 parent 6208725
@jscheid authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  kite.el
View
2  kite.el
@@ -743,6 +743,8 @@ JavaScript execution context is created."
FIXME: this needs to reset many more state properties."
(setf (kite-session-error-count kite-session) 0)
(clrhash (kite-session-source-map-cache kite-session))
+ (setf (kite-session-default-context kite-session))
+ (setf (kite-session-current-context kite-session))
(kite--mode-line-update))
(add-hook 'kite-Runtime-executionContextCreated-hooks
Please sign in to comment.
Something went wrong with that request. Please try again.