diff -r f4b64aa848e1 -r 7ba4302a9999 examples/DS401_Slave_Gui/TestSlaveGui.cpp --- a/examples/DS401_Slave_Gui/TestSlaveGui.cpp Tue Oct 02 17:56:11 2007 +0200 +++ b/examples/DS401_Slave_Gui/TestSlaveGui.cpp Tue Oct 02 17:57:16 2007 +0200 @@ -103,12 +103,11 @@ void stop_slave() { EnterMutex(); + setState(&ObjDict_Data, Stopped); + LeaveMutex(); - setState(&ObjDict_Data, Stopped); StopTimerLoop(); canClose(&ObjDict_Data); - LeaveMutex(); - return; }