Skip to content

Fix cache initialization for mergeable libraries - #881

Merged
kean merged 1 commit into
kean:mainfrom
ZHUOLIN0928:codex/826-memory-source-activate
Aug 2, 2026
Merged

Fix cache initialization for mergeable libraries#881
kean merged 1 commit into
kean:mainfrom
ZHUOLIN0928:codex/826-memory-source-activate

Conversation

@ZHUOLIN0928

Copy link
Copy Markdown

Summary

  • initialize the memory-pressure dispatch source with activate() when Nuke is used with mergeable libraries
  • avoid resuming an already active source during cache initialization

Fixes #826

Validation

  • swift build --target Nuke
  • swift test --filter NukeTests could not complete locally because the installed CommandLineTools cannot resolve the existing SwiftUIMacros.StateMacro plugin while compiling NukeUI; this is unrelated to the changed file

@kean
kean marked this pull request as ready for review August 2, 2026 17:54
@kean

kean commented Aug 2, 2026

Copy link
Copy Markdown
Owner

TIL activate. Thank you!

@kean
kean merged commit 71d1de1 into kean:main Aug 2, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ImagePipeline init crashing when using Mergeable libraries

2 participants