# HG changeset patch
# User Florian Pose <fp@igh-essen.com>
# Date 1172065427 0
# Node ID 492148a329e762e3c9b6bc35fc6240fdd4252e7d
# Parent  ba69f7f34fbf47b866d0374d069ee0dbd364aab2
Destroy slaves when leaving idle mode.

diff -r ba69f7f34fbf -r 492148a329e7 master/master.c
--- a/master/master.c	Wed Feb 21 13:38:02 2007 +0000
+++ b/master/master.c	Wed Feb 21 13:43:47 2007 +0000
@@ -423,6 +423,7 @@
     ec_master_eoe_stop(master);
     ec_master_thread_stop(master);
     ec_master_flush_sdo_requests(master);
+    ec_master_destroy_slaves(master);
 }
 
 /*****************************************************************************/