reset shared memory if reset() is called

This commit is contained in:
Julian Hinxlage 2020-01-08 12:11:15 +01:00
parent faf7fb3107
commit fcecd68702

View File

@ -187,6 +187,8 @@ namespace vkvm {
}
auto reset() -> void {
impl.sharedMemory = nullptr;
impl.localSharedMemory.clear();
setDefaultValues();
}