diff --git a/port/win/io_win.h b/port/win/io_win.h index 91b58d29efd..fb84bc65f85 100644 --- a/port/win/io_win.h +++ b/port/win/io_win.h @@ -528,6 +528,7 @@ class WinFileLock : public FileLock { HANDLE hFile_; }; +// This class auto closes overlapped.hEvent during destruction if it is not NULL struct Win_IOHandle { std::function cb; void* cb_arg;