< prev index next >

src/java.base/windows/classes/sun/nio/fs/WindowsWatchService.java

Print this page

        

*** 461,471 **** } catch (WindowsException expected) { // expected as I/O operation has been cancelled } CloseHandle(key.handle()); closeAttachedEvent(key.overlappedAddress()); ! key.buffer().cleaner().clean(); } /** * Creates an unnamed event and set it as the hEvent field * in the given OVERLAPPED structure --- 461,471 ---- } catch (WindowsException expected) { // expected as I/O operation has been cancelled } CloseHandle(key.handle()); closeAttachedEvent(key.overlappedAddress()); ! key.buffer().free(); } /** * Creates an unnamed event and set it as the hEvent field * in the given OVERLAPPED structure
< prev index next >