Skip to content

Commit b94dd86

Browse files
committed
Allow some time to reload the application before disconnecting.
1 parent 8c1b39c commit b94dd86

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

toolbox/src/bossdevice.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,7 @@ function delete(obj)
422422
% Class destructor
423423
if obj.targetObject.isConnected
424424
obj.targetObject.stop;
425+
pause(2);
425426
obj.targetObject.disconnect;
426427
end
427428
end

0 commit comments

Comments
 (0)