mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps] Apps are not allocated on the heap anymore but in a union hold by
the AppsContainerStorage
This commit is contained in:
@@ -27,7 +27,7 @@ App::Snapshot::Snapshot() :
|
||||
}
|
||||
|
||||
App * App::Snapshot::unpack(Container * container) {
|
||||
return new App(container, this);
|
||||
return new (container->currentAppBuffer()) App(container, this);
|
||||
}
|
||||
|
||||
void App::Snapshot::reset() {
|
||||
|
||||
Reference in New Issue
Block a user