Skip to content

Commit

Permalink
don't drop handles on dispose (#460)
Browse files Browse the repository at this point in the history
* Update mod.rs

* Update mod.rs
  • Loading branch information
theomonnom authored Oct 4, 2024
1 parent 8afcb52 commit ef99aad
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions livekit-ffi/src/server/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ impl FfiServer {

pub async fn dispose(&self) {
self.logger.set_capture_logs(false);

log::info!("disposing ffi server");

// Close all rooms
Expand All @@ -152,8 +151,6 @@ impl FfiServer {
}

// Drop all handles
self.ffi_handles.clear();
self.handle_dropped_txs.clear();
*self.config.lock() = None; // Invalidate the config
}

Expand Down

0 comments on commit ef99aad

Please sign in to comment.