这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@rpt0
Copy link

@rpt0 rpt0 commented Sep 16, 2025

this fixes a crash (IllegalStateException) caused by
notifyDataSetChanged() being invoked from non-ui threads when
termuxservice modifies the session list.

changes:

  • Wrap notifyDataSetChanged() inside runOnUiThread() in
    TermuxActivity.termuxSessionListNotifyUpdated().
  • Add null-check for mTermuxSessionListViewController to
    prevent potential NPEs.
  • Verified that no other direct calls to
    notifyDataSetChanged() exist outside TermuxActivity,
    ensuring consistent session list refresh behavior.

Fixes: #4725

@rpt0 rpt0 closed this by deleting the head repository Sep 30, 2025
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.

[Bug]: suddenly close

1 participant