1
0
mirror of https://github.com/momo5502/hypervisor.git synced 2025-07-05 10:41:50 +00:00

Support global constructors/destructors

This commit is contained in:
Maurice Heumann
2022-12-25 18:00:21 +01:00
parent 6f7f0f74c4
commit 06db3371ad
4 changed files with 138 additions and 1 deletions

View File

@ -142,6 +142,7 @@ hypervisor::hypervisor()
hypervisor::~hypervisor()
{
this->disable_all_ept_hooks();
this->disable();
this->free_vm_states();
instance = nullptr;