Skip to content
This repository has been archived by the owner on Oct 21, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1976 from LightTable/fix-browser-clear-console
Browse files Browse the repository at this point in the history
Destroy devtools-client along with parent browser - close #1975
  • Loading branch information
cldwalker committed Sep 15, 2015
2 parents baa2037 + d0b17cf commit dec215a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lt/objs/browser.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@
:triggers #{:close}
:reaction (fn [this]
(object/raise this :inactive)
(object/destroy! (:devtools-client @this))
(object/destroy! this)))

(behavior ::rem-client
Expand Down

0 comments on commit dec215a

Please sign in to comment.