diff options
author | David Robillard <d@drobilla.net> | 2008-09-28 03:36:59 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-09-28 03:36:59 +0000 |
commit | 9c665df722565ec8c994fba371dea69d5f934db4 (patch) | |
tree | 94bf5d88a67cad3dc3ad5ae789c0b62dd4aec0d3 /src/libs/gui/Port.hpp | |
parent | 7471821294765f6da694d14ff81581b31d1a983a (diff) | |
download | ingen-9c665df722565ec8c994fba371dea69d5f934db4.tar.gz ingen-9c665df722565ec8c994fba371dea69d5f934db4.tar.bz2 ingen-9c665df722565ec8c994fba371dea69d5f934db4.zip |
Fix potential crash when port blinkenports activity is followed by port destruction (before the blink is turned off).
Fix ticket #192.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1520 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/gui/Port.hpp')
-rw-r--r-- | src/libs/gui/Port.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libs/gui/Port.hpp b/src/libs/gui/Port.hpp index ae9b0c48..4851a63f 100644 --- a/src/libs/gui/Port.hpp +++ b/src/libs/gui/Port.hpp @@ -39,8 +39,7 @@ class Port : public FlowCanvas::Port { public: Port(boost::shared_ptr<FlowCanvas::Module> module, SharedPtr<PortModel> pm, bool flip=false); - - virtual ~Port() {} + ~Port(); SharedPtr<PortModel> model() const { return _port_model; } |