astares/Pharo-OS-Windows

WinRegistryKey autoRelease troubles

pavel-krivanek opened this issue · 0 comments

The WinHandle registers itself in WinHandle>>#initialize as autoRelease. However, the method WinRegistryKey>>#queryValue:fromSubkey: (WinRegistryKey is a subclass of WinHandle) does the handle release explicitly too. It had very strange side effects for us, like closed handles of files used by Pharo.