| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 625d8f7 commit d8c927b
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -102,12 +102,8 @@ NodeMainInstance::~NodeMainInstance() { | |||
| 102 | 102 | if (!owns_isolate_) { | |
| 103 | 103 | return; | |
| 104 | 104 | } | |
| 105 | - // TODO(addaleax): Reverse the order of these calls. The fact that we first | ||
| 106 | - // dispose the Isolate is a temporary workaround for | ||
| 107 | - // https://github.com/nodejs/node/issues/31752 -- V8 should not be posting | ||
| 108 | - // platform tasks during Dispose(), but it does in some WASM edge cases. | ||
| 109 | - isolate_->Dispose(); | ||
| 110 | 105 | platform_->UnregisterIsolate(isolate_); | |
| 106 | + isolate_->Dispose(); | ||
| 111 | 107 | } | |
| 112 | 108 | ||
| 113 | 109 | int NodeMainInstance::Run() { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments