Open
Description
Describe the bug
It takes few seconds to quit MTA client, even when only main menu is shown and game world was never loaded.
What is interesting is that it doesn't happen on custom builds build as VERSION_TYPE_CUSTOM
where quit is nearly instant even when client is connected to the server.
Steps to reproduce
Click quit in main menu or press ALT + F4.
Version
Happens on both mtasa-1.6-rc-23237-20250605
and mtasa-1.6-rc-22388-20240203
so probably it's not regression.
Additional context
Caused by something in netc. m_pNet->Shutdown();
call is causing that slowdown:
mtasa-blue/Client/core/CCore.cpp
Line 1138 in 527f873
Relevant log output
Security Policy
- I have read and understood the Security Policy and this issue is not security related.