thermferm/simulator.c

changeset 497
18ace27338e5
parent 366
7b698d012a0c
child 550
04c942cded91
--- a/thermferm/simulator.c	Sat Mar 26 14:43:31 2016 +0100
+++ b/thermferm/simulator.c	Sat Apr 30 21:06:20 2016 +0200
@@ -57,6 +57,9 @@
     }
 
     for (;;) {
+	if (my_shutdown)
+	    break;
+
 	for (simulator = Config.simulators; simulator; simulator = simulator->next) {
 	    if (my_shutdown)
 	    	break;

mercurial