From caba557c8328937679feb832382fdc1e21dfc141 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Sat, 17 Feb 2024 20:07:31 +0800 Subject: [PATCH] Update vm.h --- include/pocketpy/vm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/pocketpy/vm.h b/include/pocketpy/vm.h index 5660567a..9c3691db 100644 --- a/include/pocketpy/vm.h +++ b/include/pocketpy/vm.h @@ -416,7 +416,7 @@ public: ImportContext _import_context; PyObject* py_import(Str path, bool throw_err=true); - ~VM(); + virtual ~VM(); #if PK_DEBUG_CEVAL_STEP void _log_s_data(const char* title = nullptr);