deinit_allocator

Function deinit_allocator 

Source
pub fn deinit_allocator() -> Result<(), OutOfMemory>
Expand description

An alias for stable_memory_pre_upgrade.

Internally calls StableMemoryAllocator::store.

ยงPanics

Panics if there is no initialized stable memory allocator.