summaryrefslogtreecommitdiffstats
path: root/cad/linuxcnc-devel/files/patch-src_hal_hal__lib.c
blob: 516526f290b93aa21e4238afd8bdc68301d09b5f (plain)
1
2
3
4
5
6
7
8
9
10
--- src/hal/hal_lib.c.orig	2016-06-25 02:19:12 UTC
+++ src/hal/hal_lib.c
@@ -2698,6 +2698,7 @@ void rtapi_app_exit(void)
 	/* and delete it */
 	free_thread_struct(thread);
     }
+    hal_data->base_period = 0;
     /* release mutex */
     rtapi_mutex_give(&(hal_data->mutex));
     /* release RTAPI resources */
OpenPOWER on IntegriCloud