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.