mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-10 07:26:32 +01:00
Defer session_loaded until AFTER lo_server_new.
This seems like the right thing to do, and -might- fix OSC on Windows.
This commit is contained in:
parent
14bf40cfe3
commit
136f705af9
1 changed files with 2 additions and 1 deletions
|
|
@ -88,7 +88,6 @@ OSC::OSC (Session& s, uint32_t port)
|
|||
{
|
||||
_instance = this;
|
||||
|
||||
session_loaded (s);
|
||||
session->Exported.connect (*this, MISSING_INVALIDATOR, boost::bind (&OSC::session_exported, this, _1, _2), this);
|
||||
}
|
||||
|
||||
|
|
@ -227,6 +226,8 @@ OSC::start ()
|
|||
|
||||
register_callbacks();
|
||||
|
||||
session_loaded (@session);
|
||||
|
||||
// lo_server_thread_add_method(_sthread, NULL, NULL, OSC::_dummy_handler, this);
|
||||
|
||||
/* startup the event loop thread */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue