We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8cec36 commit d56a1d4Copy full SHA for d56a1d4
couchbase-lite/src/replicator.rs
@@ -23,13 +23,6 @@ struct CallContext {
23
after_pull_ctx: *mut c_void,
24
}
25
26
-impl Drop for CallContext {
27
- fn drop(&mut self) {
28
- println!("CallContext.drop()");
29
- // fields are dropped implicitely (I think)
30
- }
31
-}
32
-
33
pub(crate) struct Replicator {
34
inner: NonNull<C4Replicator>,
35
c_callback_on_status_changed: C4ReplicatorStatusChangedCallback,
@@ -45,7 +38,6 @@ unsafe impl Send for Replicator {}
45
38
46
39
impl Drop for Replicator {
47
40
fn drop(&mut self) {
48
- println!("Replicator.drop()");
49
41
unsafe {
50
42
c4repl_free(self.inner.as_ptr());
51
43
(self.free_callback_f)(self.callback_context.as_ptr());
0 commit comments