Skip to content

Commit

Permalink
Properly destroy dummy kapsule
Browse files Browse the repository at this point in the history
  • Loading branch information
vasturiano committed Aug 17, 2023
1 parent b7722c5 commit fb5f8b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/kapsule-link.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
export default function(kapsulePropName, kapsuleType) {

const dummyK = new kapsuleType(); // To extract defaults
dummyK._destructor && dummyK._destructor();

return {
linkProp: function(prop) { // link property config
Expand Down

0 comments on commit fb5f8b1

Please sign in to comment.