aboutsummaryrefslogtreecommitdiffstats
path: root/lib/observer/src
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2014-04-17 14:52:55 +0200
committerDan Gudmundsson <[email protected]>2014-04-17 14:52:55 +0200
commit8093b972025dfd4f390266fa5288ebb46a516317 (patch)
tree03bac2a4dc6abfec1c4b77a2ff35c9219800f1cd /lib/observer/src
parent2fb83e99c6db6fa9537222b20af5f678c75dd584 (diff)
downloadotp-8093b972025dfd4f390266fa5288ebb46a516317.tar.gz
otp-8093b972025dfd4f390266fa5288ebb46a516317.tar.bz2
otp-8093b972025dfd4f390266fa5288ebb46a516317.zip
observer: Destroy the wx env
Ensure that the server exists on close, even though linked to the test process
Diffstat (limited to 'lib/observer/src')
-rw-r--r--lib/observer/src/observer_wx.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/observer/src/observer_wx.erl b/lib/observer/src/observer_wx.erl
index ced26f7119..768dc3b3f7 100644
--- a/lib/observer/src/observer_wx.erl
+++ b/lib/observer/src/observer_wx.erl
@@ -388,6 +388,7 @@ handle_info(_Info, State) ->
terminate(_Reason, #state{frame = Frame}) ->
wxFrame:destroy(Frame),
+ wx:destroy(),
ok.
code_change(_, _, State) ->