Tear down OSC settings GUI, when the protocol is disabled
authorRobin Gareus <robin@gareus.org>
Wed, 28 Dec 2016 21:59:49 +0000 (22:59 +0100)
committerRobin Gareus <robin@gareus.org>
Wed, 28 Dec 2016 21:59:49 +0000 (22:59 +0100)
libs/surfaces/osc/osc.cc

index f698dba9c8a65c293552fddc403c369b73e6e9ff..4e1ebcea32e61cd600c0ea89b22990980172f7c0 100644 (file)
@@ -110,6 +110,7 @@ OSC::OSC (Session& s, uint32_t port)
 OSC::~OSC()
 {
        stop ();
+       tear_down_gui ();
        _instance = 0;
 }