chore(napi): remove useless de_init
This commit is contained in:
parent
6e4b16fe5d
commit
e370dee545
1 changed files with 0 additions and 7 deletions
|
@ -19,13 +19,6 @@ type RefInformation = (
|
||||||
pub(crate) static REFERENCE_MAP: Lazy<PersistedPerInstanceHashMap<*mut c_void, RefInformation>> =
|
pub(crate) static REFERENCE_MAP: Lazy<PersistedPerInstanceHashMap<*mut c_void, RefInformation>> =
|
||||||
Lazy::new(Default::default);
|
Lazy::new(Default::default);
|
||||||
|
|
||||||
#[ctor::dtor]
|
|
||||||
fn de_init() {
|
|
||||||
REFERENCE_MAP.borrow_mut(|reference_map| {
|
|
||||||
std::mem::take(reference_map);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
/// ### Experimental feature
|
/// ### Experimental feature
|
||||||
///
|
///
|
||||||
/// Create a `reference` from `Class` instance.
|
/// Create a `reference` from `Class` instance.
|
||||||
|
|
Loading…
Reference in a new issue