MCPcopy Index your code
hub / github.com/paperwm/PaperWM / destroy

Method destroy

stackoverlay.js:483–499  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

481 }
482
483 destroy() {
484 Utils.timeout_remove(this.triggerPreviewTimeout);
485 this.triggerPreviewTimeout = null;
486
487 Utils.timeout_remove(this.showPreviewTimeout);
488 this.showPreviewTimeout = null;
489
490 Utils.timeout_remove(this.activatePreviewTimeout);
491 this.activatePreviewTimeout = null;
492
493 this.signals.destroy();
494 this.signals = null;
495 this.removePreview();
496
497 Main.layoutManager.untrackChrome(this.overlay);
498 this.overlay.destroy();
499 }
500
501 /**
502 * Convenience method to return WorkArea for current monitor.

Callers

nothing calls this directly

Calls 2

removePreviewMethod · 0.95
destroyMethod · 0.45

Tested by

no test coverage detected