Expansion.unloadExpansion causes hang
-
This was working last night so I suspect one of the commits today has broken it. I'll put a minimal example together.
-
This post is deleted! -
JUCE Assertion failure in juce_MessageManager.cpp:176
Something to do with locked threads...
-
@Christoph-Hart Ok I figured out how to trigger it consistently. Run this snippet in any project that has expansions. It's the call to
refreshExpansions
after the call tounloadExpansion
that is causing problems.HiseSnippet 862.3ocsU01aSiDDdcZMhj6EARv2s3SoRPTxAWAIDhRSR4xczRzkB5jPmPaWOtYUWuq0tqKMBUo6m78OfaFa2XmR.ghNhhhyLyyy5mY7LimZMBv4LVVP6iWjArfeLb1Bse9v4bolMYDK3tg4ZkgGO9hLt1IM5iAmms+hLtyAwrffsdIAMn81rhO+6y2mq3ZAT6hwdqQJfWISk9ZuS26OjJ0A7X3XYZCzOZuIBidnQYxQYsUXeVFWbF+T3HNAqUHK3Fiikdiclm6AGKX68MwKlM27AcI92JcxST.YLfMCOnR2GXTwjhIurgykp3oWk9NFdJSqKFaUVLtS3gxX4R+0EkaUDHplQy5QPqUk2VqHuAMkW+FxaMRJngj1tTR2NblvJy70QH87CgSzdvlvwxdSoThk05AsBGZPDZeuT9YvAVzXIit61u+8ive14oc5fkdmOBtH6235XEXidVzX8oRMzSXALeV1FTEuKRZImWIwqOqA6dmB9kLnnD7NRsBOvnjbsvi9iL58y8did.oQqQ0UXRyLZTs2O5btJG1oyG6zVlD0sxpMZ1VYDbUDTd+ny9c8+6mh9wuDToaDjf2l3tvNHiBJsgdWqYlzC4uVwVHwBt4KQ3JgbIAqCd4RLAtpVhY2vqjZ26UkD2amdNxeQpLjqTmfsucudNhGZi7+HiGdMJFJO6bYmnqGJIYswpNqhGCqILMWY+ZD6pySOArMqxDPrYa0N3vubGbyALQYYoAPidhV5ecFn+RicrpZI9u2LYD2yo19JeHtLv5kjDBFAmi6PJGBZGNBbm4MYEXqd.fqE7EQ+4pQjxBNSFSDpp9rKpWz7t8Vrz3e988jtCMo34vsn6fVN94vD8TrW.7znD6ymEws.l3bE2u5pAZeXU.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