Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1657073. Make sure to destroy direct manipulation objects before …
…we clear our HWND pointer. r=kats Otherwise when we try to call Deactivate on the direct manipulation manager (to balance the Activate call) we won't have the HWND pointer and so it won't balance and we will leak. We call DestroyDirectManipulation in nsWindow::Destroy but it looks like nsWindow::OnDestroy can be called before nsWindow::Destroy. Differential Revision: https://phabricator.services.mozilla.com/D85835
- Loading branch information