We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b534b3e commit 46dec8dCopy full SHA for 46dec8d
table.h
@@ -51,6 +51,8 @@ namespace emulator {
51
class Table : public std::enable_shared_from_this<Table> {
52
public:
53
~Table() {
54
+ // Signal the GC thread to stop and wait for it to terminate.
55
+ stop_flag_ = true;
56
if (gc_thread_.joinable()) {
57
gc_thread_.join();
58
}
0 commit comments