Explicitly drop Arc::from_raw
This commit is contained in:
parent
f9bdaffc62
commit
46094e5249
|
@ -1680,7 +1680,7 @@ impl<P: ClapPlugin> Wrapper<P> {
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe extern "C" fn destroy(plugin: *const clap_plugin) {
|
unsafe extern "C" fn destroy(plugin: *const clap_plugin) {
|
||||||
Arc::from_raw(plugin as *mut Self);
|
drop(Arc::from_raw(plugin as *mut Self));
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe extern "C" fn activate(
|
unsafe extern "C" fn activate(
|
||||||
|
|
Loading…
Reference in a new issue