summaryrefslogtreecommitdiffstats
path: root/src/server/GraphImpl.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-12-08 21:11:49 +0100
committerDavid Robillard <d@drobilla.net>2019-12-08 21:11:49 +0100
commit7859da2568147cc06ea70992a1baed2ceaae619a (patch)
treee53f8f1b086afab4bbf4dbe0222239938091d90b /src/server/GraphImpl.cpp
parentafffecae1c567bac1622d4f168ff7c3828ec3b51 (diff)
downloadingen-7859da2568147cc06ea70992a1baed2ceaae619a.tar.gz
ingen-7859da2568147cc06ea70992a1baed2ceaae619a.tar.bz2
ingen-7859da2568147cc06ea70992a1baed2ceaae619a.zip
Fix use of virtual functions in destructors
Diffstat (limited to 'src/server/GraphImpl.cpp')
-rw-r--r--src/server/GraphImpl.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/server/GraphImpl.cpp b/src/server/GraphImpl.cpp
index c0c31b95..00d4cfd6 100644
--- a/src/server/GraphImpl.cpp
+++ b/src/server/GraphImpl.cpp
@@ -61,6 +61,10 @@ GraphImpl::GraphImpl(Engine& engine,
GraphImpl::~GraphImpl()
{
+ if (_activated) {
+ GraphImpl::deactivate();
+ }
+
delete _plugin;
}