13
0

Do not limit stack-size when freezing tracks

This fixes an issue with plugin state save/restore. Some
require excessive stack to do that (looking at you b.oops.lv2).
The main GUI thread has no stack limit, so this is only an issue
when calling state save/restore from background threads.
This commit is contained in:
Robin Gareus 2022-11-13 02:55:15 +01:00
parent 4f3b8a9776
commit b82900858f
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -4116,7 +4116,7 @@ Editor::freeze_route ()
InterthreadProgressWindow ipw (current_interthread_info, _("Freeze"), _("Cancel Freeze"));
pthread_create_and_store (X_("freezer"), &itt.thread, _freeze_thread, this);
pthread_create_and_store (X_("freezer"), &itt.thread, _freeze_thread, this, 0);
CursorContext::Handle cursor_ctx = CursorContext::create(*this, _cursors->wait);