Fixed code to disable outputs when runtime quits
This commit is contained in:
parent
6d52302c1d
commit
e6b31d62c3
|
@ -233,6 +233,8 @@ int main(int argc,char **argv)
|
|||
pthread_join(interactive_thread, NULL);
|
||||
printf("Disabling outputs\n");
|
||||
disableOutputs();
|
||||
updateCustomOut();
|
||||
updateBuffersOut();
|
||||
printf("Shutting down OpenPLC Runtime...\n");
|
||||
exit(0);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue