diff --git a/include/wrapper/NonRealtime.hpp b/include/wrapper/NonRealtime.hpp index 6e01e4a..3993d72 100644 --- a/include/wrapper/NonRealtime.hpp +++ b/include/wrapper/NonRealtime.hpp @@ -343,7 +343,7 @@ namespace impl { FifoMsg msg; msg.Set(world, runCompletion, tidyup, c); - ft->fSendMsgToRT(world,msg); + if(world->mRunning) ft->fSendMsgToRT(world,msg); } struct CommandProcess: public NRTCommand