From 8093b972025dfd4f390266fa5288ebb46a516317 Mon Sep 17 00:00:00 2001 From: Dan Gudmundsson Date: Thu, 17 Apr 2014 14:52:55 +0200 Subject: observer: Destroy the wx env Ensure that the server exists on close, even though linked to the test process --- lib/observer/src/observer_wx.erl | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/observer/src') 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) -> -- cgit v1.2.3