mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-30 19:12:07 +08:00
Replay: fix possible segfault on exit (#26768)
old-commit-hash: 881c15c2a62135f62cb58c7f317f36365b6e643c
This commit is contained in:
@@ -51,9 +51,9 @@ void Replay::stop() {
|
||||
stream_thread_->wait();
|
||||
stream_thread_ = nullptr;
|
||||
}
|
||||
segments_.clear();
|
||||
camera_server_.reset(nullptr);
|
||||
timeline_future.waitForFinished();
|
||||
segments_.clear();
|
||||
rInfo("shutdown: done");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user