Skip to content

fix for ipc regressions - #373

Merged
donkeyProgramming merged 3 commits into
donkeyProgramming:masterfrom
Shazbot:master
Aug 10, 2026
Merged

fix for ipc regressions#373
donkeyProgramming merged 3 commits into
donkeyProgramming:masterfrom
Shazbot:master

Conversation

@Shazbot

@Shazbot Shazbot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

The caching changes broke the way we opened packs after IPC requests:

Failed loading external pack file K:\SteamLibrary\steamapps\common\Total War WARHAMMER III\data\variants.pack System.InvalidOperationException: The calling thread must be STA, because many UI components require this.

Currently we need to load packs using a WPF dispatcher.

WpfUiDispatcher is a small wrapper around Application.Current.Dispatcher that makes the code easier to test.

@donkeyProgramming

Copy link
Copy Markdown
Owner

The unit tests are broken :)

@Shazbot

Shazbot commented Aug 10, 2026

Copy link
Copy Markdown
Contributor Author

ok, sorry about that

@donkeyProgramming
donkeyProgramming merged commit 0942e10 into donkeyProgramming:master Aug 10, 2026
1 check 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.

2 participants