diff --git a/host/platform/Windows/capture/NVFBC/src/nvfbc.c b/host/platform/Windows/capture/NVFBC/src/nvfbc.c index ec1c5522..ad9a0658 100644 --- a/host/platform/Windows/capture/NVFBC/src/nvfbc.c +++ b/host/platform/Windows/capture/NVFBC/src/nvfbc.c @@ -77,7 +77,6 @@ static void getDesktopSize(unsigned int * width, unsigned int * height, unsigned GetMonitorInfo(monitor, &monitorInfo); *dpi = monitor_dpi(monitor); - CloseHandle(monitor); *width = monitorInfo.rcMonitor.right - monitorInfo.rcMonitor.left; *height = monitorInfo.rcMonitor.bottom - monitorInfo.rcMonitor.top;