mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 09:29:38 +01:00
JBR-6522 macOS: SIGSEGV at [libawt_lwawt.dylib+0x8eaa8] MTLGC_DestroyMTLGraphicsConfig
Performing flush of pending rendering operation before destroying MTLGraphicsConfig
This commit is contained in:
committed by
Alexey Ushakov
parent
b530b4f4cb
commit
2aa3828f59
@@ -655,9 +655,9 @@ Java_sun_java2d_metal_MTLRenderQueue_flushBuffer
|
||||
CHECK_PREVIOUS_OP(MTL_OP_OTHER);
|
||||
jlong pConfigInfo = NEXT_LONG(b);
|
||||
CONTINUE_IF_NULL(mtlc);
|
||||
[mtlc commitCommandBuffer:YES display:NO];
|
||||
MTLTR_FreeGlyphCacheAA();
|
||||
MTLTR_FreeGlyphCacheLCD();
|
||||
[mtlc.encoderManager endEncoder];
|
||||
MTLGC_DestroyMTLGraphicsConfig(pConfigInfo);
|
||||
mtlc = NULL;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user