File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -233,15 +233,11 @@ void StfBuilderDevice::ResetTask()
233233 // Signal ConditionalRun() and other threads to stop
234234 I ().mRunning = false ;
235235
236- // stop the memory resources
237- MemI ().stop ();
238-
239236 // Stop the pipeline
240237 stopPipeline ();
241238 clearPipeline ();
242239
243240 // NOTE: everything with threads goes below
244-
245241 // signal and wait for the output thread
246242 if (I ().mFileSource ->enabled ()) {
247243 I ().mFileSource ->stop ();
@@ -264,10 +260,12 @@ void StfBuilderDevice::ResetTask()
264260 I ().mInfoThread .join ();
265261 }
266262
263+ // stop the memory resources very last
264+ MemI ().stop ();
265+
267266 DDDLOG (" StfBuilderDevice::ResetTask() done... " );
268267}
269268
270-
271269void StfBuilderDevice::StfOutputThread ()
272270{
273271 // wait for the device to go into RUNNING state
You can’t perform that action at this time.
0 commit comments