mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 09:50:40 +08:00
fix: handle leak
https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/12199#issuecomment-2746840742
This commit is contained in:
@@ -542,6 +542,7 @@ std::string asst::IOHandlerWin32::read(unsigned timeout_sec)
|
||||
}
|
||||
}
|
||||
|
||||
CloseHandle(pipeov.hEvent);
|
||||
return pipe_buffer.get();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user