Skip to content

Commit

Permalink
fixup! Merge pull request #551 from cloudflare/jlee/jsglock-cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jasnell committed Apr 20, 2023
1 parent 1487d2a commit d574220
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions src/workerd/jsg/async-context.c++
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ inline void maybeSetV8ContinuationContext(
}
} // namespace

AsyncContextFrame::AsyncContextFrame(Lock& js, StorageEntry storageEntry)
: isolate(IsolateBase::from(js.v8Isolate)) {
AsyncContextFrame::AsyncContextFrame(Lock& js, StorageEntry storageEntry) {
KJ_IF_MAYBE(frame, current(js)) {
// Propagate the storage context of the current frame (if any).
// If current(js) returns nullptr, we assume we're in the root
Expand Down
2 changes: 0 additions & 2 deletions src/workerd/jsg/async-context.h
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,6 @@ class AsyncContextFrame final: public Wrappable {
using Storage = kj::Table<StorageEntry, kj::HashIndex<StorageEntryCallbacks>>;
Storage storage;

IsolateBase& isolate;

void jsgVisitForGc(GcVisitor& visitor) override;

friend struct StorageScope;
Expand Down

0 comments on commit d574220

Please # to comment.