summaryrefslogtreecommitdiff
path: root/libs/surfaces/mackie/surface.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/surfaces/mackie/surface.cc')
-rw-r--r--libs/surfaces/mackie/surface.cc4
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");
}