Actually set m_is_async to current async mode

Looks like this was missed in the async mode implementation.
This commit is contained in:
Hannes Domani
2022-11-28 19:43:06 +01:00
parent 23d04cffa8
commit 0d146c1c5f

View File

@ -427,6 +427,8 @@ windows_nat_target::async (bool enable)
nullptr, "windows_nat_target"); nullptr, "windows_nat_target");
else else
delete_file_handler (async_wait_fd ()); delete_file_handler (async_wait_fd ());
m_is_async = enable;
} }
/* A wrapper for WaitForSingleObject that issues a warning if /* A wrapper for WaitForSingleObject that issues a warning if