Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .changes/fixed/2730.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed RocksDB closing issue that potentially could panic.
1 change: 1 addition & 0 deletions crates/fuel-core/src/state/rocks_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ impl<Description> Drop for RocksDb<Description> {
// Drop the snapshot before the db.
// Dropping the snapshot after the db will cause a sigsegv.
self.snapshot = None;
self.db.cancel_all_background_work(true);
}
}

Expand Down
Loading