diff options
author | David Robillard <d@drobilla.net> | 2019-12-08 21:11:49 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-12-08 21:11:49 +0100 |
commit | 7859da2568147cc06ea70992a1baed2ceaae619a (patch) | |
tree | e53f8f1b086afab4bbf4dbe0222239938091d90b /src/server/GraphImpl.cpp | |
parent | afffecae1c567bac1622d4f168ff7c3828ec3b51 (diff) | |
download | ingen-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.cpp | 4 |
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; } |