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