[][src]Function delorean::recovery

pub unsafe fn recovery<I: App>(addr: A<I>) -> I

Recover the owner of app and dealloc Context

Basically you can recovery your App with a version of your current state

Safety

Ultra unsafe function, NEVER call inside your App, Only Outside. Current is replace for Default::default(), check it's correctly with yours expected behaviour Make sure to ALL your runtime is ended.

Drop all your old DeLorean<I> references