Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for MapTool Freeze when using an asset that can't be found on macro button #4182

Merged
merged 1 commit into from
Jun 29, 2023

Conversation

cwisniew
Copy link
Member

@cwisniew cwisniew commented Jun 29, 2023

Identify the Bug or Feature request

fixes #4163

Description of the Change

Changed the client handler put asset call so that the adding of the asset to the asset manager occurs on the current thread rather than a deferred Swing thread. As the memory cache is thread safe, this is fine, and it avoids the issue where Swing is blocking waiting for an image which currently locks up MapTool.

Possible Drawbacks

Should be none

Documentation Notes

Missing assets used in macro buttons OR tags in chat or frame/dialog should no longer cause MapTool to lock up.

Release Notes

  • Missing assets used in macro buttons OR tags in chat or frame/dialog should no longer cause MapTool to lock up.

This change is Reviewable

@cwisniew cwisniew merged commit 13fec05 into RPTools:release-1.13 Jun 29, 2023
4 checks passed
@cwisniew cwisniew deleted the fix-4163 branch June 29, 2023 09:21
@cwisniew cwisniew added the bug label Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Merged
Development

Successfully merging this pull request may close these issues.

None yet

2 participants