Skip to content

Commit

Permalink
Revert "Fix traces after we remove SkiaLayer from a Swing container (#…
Browse files Browse the repository at this point in the history
…552)"

This reverts commit ac324c0.

Flushing the transaction causes the window background to be visible for a frame when closing the window.
https://youtrack.jetbrains.com/issue/CMP-5651
  • Loading branch information
m-sasha committed Mar 4, 2025
1 parent 8620e19 commit 5d31b12
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion skiko/src/awtMain/objectiveC/macos/MetalRedrawer.mm
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,6 @@ JNIEXPORT void JNICALL Java_org_jetbrains_skiko_redrawer_MetalRedrawer_disposeDe
env->DeleteGlobalRef(device.layer.javaRef);
[[NSNotificationCenter defaultCenter] removeObserver:device.occlusionObserver];
[device.layer removeFromSuperlayer];
[CATransaction flush];
}
}

Expand Down

0 comments on commit 5d31b12

Please sign in to comment.