-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Update tasks-tracker #7177
Update tasks-tracker #7177
Conversation
Includes changes by non-author
|
Could yall refactor away the blocking usage of CompletableFuture? (keep it async as intended) |
Blocking usage of CompletableFuture refactored out as requested: |
It's not necessary to prevent hangs/exceptions since the thread is checked before swing components are modified but I have wrapped the calls as suggested anyway since they were sometimes being rejected for being on the wrong thread. |
Any idea when this could get merged? Preferably before Leagues is over. Otherwise it kind of defeats the purpose. |
Doesn't inspire confidence if this fixes the freeze or not |
@JamesShelton140 @raiyni as a neutral third party who has been anxiously awaiting this plugin to come back online, I recently downloaded runelite locally as well as the plugin, and I've been swapping between main game and leagues quite a bit the last few days and have yet to experience any slowness, crashing or anything out of the ordinary. If you'd like to message me for an sort of validation, let me know and im happy to provide whatever may be needed. |
I have just spent some time trying to test this change by attempting to reproduce the freeze/hang using the steps outlined runelite/runelite#18618 (comment) What I did is I compiled 2 different versions of the plugin, and had RuneLite load them as if they were fetched from the Plugin Hub directly.
As expected, the old version of the plugin does freeze and hang when switching between profiles. |
Anything we can do to help with this PR? |
Replaced the last instance of
clientThread::invokeLater
called during plugin startup withclientThread::invoke
to prevent a hang on auto profile switch as indicated by runelite/runelite#18618 (comment)We were not able to recreate the freeze/hang to confirm this fix but a similar change in the previous commit (osrs-reldo/tasks-tracker-plugin@b57d548) fixed an instance of the hang we were able to replicate.