diff options
author | 2022-12-05 03:52:40 -0800 | |
---|---|---|
committer | 2022-12-05 03:52:40 -0800 | |
commit | 71293033474eea83c47b6c6948f991b1dc37ad22 (patch) | |
tree | df4eec06b1da84314bba1ae794ecdada43684b17 | |
parent | 8582bc08ec02032fdb5c261a69b87cc18b313343 (diff) | |
download | bun-71293033474eea83c47b6c6948f991b1dc37ad22.tar.gz bun-71293033474eea83c47b6c6948f991b1dc37ad22.tar.zst bun-71293033474eea83c47b6c6948f991b1dc37ad22.zip |
Update Process.h
-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, |