Hadouken is an open-source platform for creating web applications with native desktop experience. Hadouken is the base project used to build OpenFin OS, a desktop operating layer used by 45+ major banks, buy-side and vendors to deploy hundreds of apps to over 400 financial firms.
Description of Change
extending previous PR for this issue by refactoring the logic and adding .isDestroyed check.
Checklist
npm test
passes