Skip to content

Quit is slow #4242

Open
Open
@lopezloo

Description

@lopezloo

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:

m_pNet->Shutdown();

Relevant log output

Security Policy

  • I have read and understood the Security Policy and this issue is not security related.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions