diff --git a/include/avnd/binding/standalone/prototype.cpp.in b/include/avnd/binding/standalone/prototype.cpp.in index 4eb10795..c21a5fa5 100644 --- a/include/avnd/binding/standalone/prototype.cpp.in +++ b/include/avnd/binding/standalone/prototype.cpp.in @@ -125,14 +125,13 @@ int main(int argc, char** argv) // Create an oscquery interface to it. standalone::oscquery_mapper oscq{object, osc_port, ws_port}; -#endif - std::thread t{[&] { oscq.run(); }}; +#endif run_ui(object); #if __has_include() oscq.stop(); -#endif t.join(); +#endif }