diff options
author | Len Ovens <len@ovenwerks.net> | 2015-10-13 22:19:36 -0700 |
---|---|---|
committer | Len Ovens <len@ovenwerks.net> | 2015-10-13 22:19:36 -0700 |
commit | 1f856918705353635831f4feb6c4acba34e09f40 (patch) | |
tree | 64b191876271048fc8cb63d17f3178b47f6e587f /libs/surfaces/mackie/surface.cc | |
parent | 53a28c230adc1182f5b22ea6975aef9e12859511 (diff) |
fix MCP ports hang on device change and multi-surface device reconnect.
Diffstat (limited to 'libs/surfaces/mackie/surface.cc')
-rw-r--r-- | libs/surfaces/mackie/surface.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/surfaces/mackie/surface.cc b/libs/surfaces/mackie/surface.cc index 8c4c10a336..954aeebca5 100644 --- a/libs/surfaces/mackie/surface.cc +++ b/libs/surfaces/mackie/surface.cc @@ -166,7 +166,9 @@ Surface::~Surface () delete _jog_wheel; delete _port; - + // the ports take time to release and we may be rebuilding right away + // in the case of changing devices. + g_usleep (100000); DEBUG_TRACE (DEBUG::MackieControl, "Surface::~Surface done\n"); } |