Skip to content

Statically linking on Windows deadlocks on exit #672

Description

Minmalloc deadlocks on exit if you try to set a new default heap in the main thread

Minimal example:
https://github.com/Unsttopabull/mimalloc-test

Tested on:

Minmalloc v2.0.7

Windows 11 (21H2)
Visual Studio 2017 (15.9.51)
MinGW GCC 12.2
MinGW Clang 15

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions