diff options
-rw-r--r-- | src/bun.js/bindings/Process.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/bun.js/bindings/Process.h b/src/bun.js/bindings/Process.h index 2952cfb7d..322b39078 100644 --- a/src/bun.js/bindings/Process.h +++ b/src/bun.js/bindings/Process.h @@ -21,6 +21,13 @@ public: DECLARE_EXPORT_INFO; + static void destroy(JSC::JSCell* cell) + { + static_cast<Process*>(cell)->Process::~Process(); + } + + ~Process(); + static constexpr unsigned StructureFlags = Base::StructureFlags; static JSC::Structure* createStructure(JSC::VM& vm, JSC::JSGlobalObject* globalObject, |