Commit 8c90f364 authored by Sébastien Timmermans's avatar Sébastien Timmermans
Browse files

[ErrMsg] RT in dirdyn small fix exit(1)

parent 36936595
......@@ -799,7 +799,7 @@ int mbs_dirdyn_finish(MbsDirdyn* dd, MbsData* mbs_data) {
err = mbs_buffer_write(dd->buffer_visu[i]);
if (err < 0){
mbs_error_msg("\t >Dirdyn finish> Error with buffer during realtime simulation.\n");
exit(1);
return (err);
}
mbs_delete_buffer(dd->buffer_visu[i]);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment