mirror of
https://github.com/fluencelabs/sqlite-wasm-connector
synced 2025-07-04 01:11:33 +00:00
A minor adjustment
This commit is contained in:
@ -93,7 +93,7 @@ impl<'l> Connection<'l> {
|
||||
/// Remove the callback handling busy events.
|
||||
#[inline]
|
||||
pub fn remove_busy_handler(&mut self) -> Result<()> {
|
||||
self.busy_callback.take();
|
||||
self.busy_callback = None;
|
||||
unsafe { ok!(self.raw, ffi::sqlite3_busy_handler(self.raw, None, 0 as *mut _)) };
|
||||
Ok(())
|
||||
}
|
||||
|
Reference in New Issue
Block a user