summaryrefslogtreecommitdiffstats
path: root/ganv
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-11-18 01:33:02 +0000
committerDavid Robillard <d@drobilla.net>2012-11-18 01:33:02 +0000
commit2c3cbd04b0d62382bad891e7933f709ef48c4be1 (patch)
tree8e6c1f836914dc23dd2213d12ed28f05f0e60b3f /ganv
parenta1712c2f1ea3e7bc1de99e40bc7f33ab6c92332d (diff)
downloadganv-2c3cbd04b0d62382bad891e7933f709ef48c4be1.tar.gz
ganv-2c3cbd04b0d62382bad891e7933f709ef48c4be1.tar.bz2
ganv-2c3cbd04b0d62382bad891e7933f709ef48c4be1.zip
Disconnect animation signal when canvas is destroyed (fix potential crashes on shutdown).
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4830 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'ganv')
-rw-r--r--ganv/Canvas.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ganv/Canvas.hpp b/ganv/Canvas.hpp
index 886102b..7d12286 100644
--- a/ganv/Canvas.hpp
+++ b/ganv/Canvas.hpp
@@ -128,6 +128,8 @@ private:
inline GanvCanvasImpl* impl() { return _gobj->impl; }
inline const GanvCanvasImpl* impl() const { return _gobj->impl; }
+ sigc::connection _animate_connection;
+
GanvCanvas* const _gobj;
};