mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1062596 - Bump thread stack size on OS X to avoid crashes. r=kinetik
This commit is contained in:
parent
1bbc5e2fc8
commit
b17a27b9e1
@ -168,9 +168,10 @@ static const int32_t MAX_VIDEO_HEIGHT = 3000;
|
||||
void ScaleDisplayByAspectRatio(nsIntSize& aDisplay, float aAspectRatio);
|
||||
|
||||
// The amount of virtual memory reserved for thread stacks.
|
||||
#if (defined(XP_WIN) || defined(XP_MACOSX) || defined(LINUX)) && \
|
||||
!defined(MOZ_ASAN)
|
||||
#if (defined(XP_WIN) || defined(LINUX)) && !defined(MOZ_ASAN)
|
||||
#define MEDIA_THREAD_STACK_SIZE (128 * 1024)
|
||||
#elif defined(XP_MACOSX) && !defined(MOZ_ASAN)
|
||||
#define MEDIA_THREAD_STACK_SIZE (256 * 1024)
|
||||
#else
|
||||
// All other platforms use their system defaults.
|
||||
#define MEDIA_THREAD_STACK_SIZE nsIThreadManager::DEFAULT_STACK_SIZE
|
||||
|
Loading…
Reference in New Issue
Block a user