forked from SonyWWS/ATF
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Addressed minor problems reported by Coverity Scan
Fixed many minor resource leaks. These Windows handles and GDI handles were not being released as soon as they should have been, but instead had to wait for the garbage collector. The highest frequency leaks were System.Drawing.Drawing2D.Matrix objects, but diagnostic tools, like Process Explorer, did not actually measure any increase in GDI handles as the leaks were occurring. ObservableDomNodeAdapter: fixed a lock problem that was designed to allow for safe multiple thread access. Removed some useless code in KeysInterop.ToWpfModifiers(). These two lines could never do anything because AtfKeys.RWin is not a flag in AtfKeys.Modifiers, so WpfModifierKeys.Windows could never be added to the result. This code also tested for AtfKeys.RWin twice. Maybe it was supposed to test for AtfKeys.LWin? But LWin is not in Modifiers either.
- Loading branch information
Showing
22 changed files
with
299 additions
and
208 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.