diff options
Diffstat (limited to 'src/engine/ingen_jack.cpp')
-rw-r--r-- | src/engine/ingen_jack.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/engine/ingen_jack.cpp b/src/engine/ingen_jack.cpp index 05a6b673..77dfff55 100644 --- a/src/engine/ingen_jack.cpp +++ b/src/engine/ingen_jack.cpp @@ -32,16 +32,12 @@ struct IngenJackModule : public Ingen::Shared::Module { } }; -static IngenJackModule* module = NULL; - extern "C" { Ingen::Shared::Module* -ingen_module_load() { - if (!module) - module = new IngenJackModule(); - - return module; +ingen_module_load() +{ + return new IngenJackModule(); } } // extern "C" |