Skip to content

Commit

Permalink
fix #1024: cleanup dev sourceMap
Browse files Browse the repository at this point in the history
  • Loading branch information
ryansolid committed Jun 2, 2022
1 parent 0cf1348 commit 0e6e497
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/solid/src/reactive/signal.ts
Expand Up @@ -1586,6 +1586,7 @@ function cleanNode(node: Owner) {
if (Transition && Transition.running) (node as Computation<any>).tState = 0;
else (node as Computation<any>).state = 0;
node.context = null;
"_SOLID_DEV_" && delete node.sourceMap;
}

function reset(node: Computation<any>, top?: boolean) {
Expand Down

0 comments on commit 0e6e497

Please sign in to comment.