methodBroadcastChannel.closeclose(): void;Closes the BroadcastChannel object, opening it up to garbage collection.MDN Reference