diff --git a/utils/GunSmith/GunSmith.js b/utils/GunSmith/GunSmith.js index b6e300bc..1980991d 100644 --- a/utils/GunSmith/GunSmith.js +++ b/utils/GunSmith/GunSmith.js @@ -712,7 +712,7 @@ function createUserReplica() { } /** - * @typedef {Smith.GunSmithNode & { reforge(): void }} RootNode + * @typedef {Smith.GunSmithNode & { kill(): void }} RootNode */ /** @@ -727,8 +727,10 @@ const Gun = opts => { // signature return { ...createReplica('$root'), - reforge() { - forge() + kill() { + currentGun.send('bye') + currentGun.disconnect() + currentGun.kill() } } }