@novely/solid-renderer 0.23.0 → 0.23.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.jsx +10 -0
- package/package.json +1 -1
package/dist/index.jsx
CHANGED
|
@@ -5047,6 +5047,16 @@ var Save = (props) => {
|
|
|
5047
5047
|
contentDocument.body.removeEventListener("click", onIframeClick);
|
|
5048
5048
|
}
|
|
5049
5049
|
}
|
|
5050
|
+
const state = useContextState(KEY);
|
|
5051
|
+
for (const custom of Object.values(state.get().custom)) {
|
|
5052
|
+
if (!custom)
|
|
5053
|
+
continue;
|
|
5054
|
+
try {
|
|
5055
|
+
custom.clear();
|
|
5056
|
+
} catch {
|
|
5057
|
+
}
|
|
5058
|
+
}
|
|
5059
|
+
removeContextState(KEY);
|
|
5050
5060
|
removeContext(KEY);
|
|
5051
5061
|
options.removeContext(KEY);
|
|
5052
5062
|
removeShared(KEY);
|