You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upon launching a script making use of tsu's sudo through the Termux:Widget module, the script fails and the device starts hanging, apparently due to a memory leak That script when launched directly through Termux doesn't trigger any issue
Also no issue even with the shortcut when using agnostic-apollo 's sudo
Steps to reproduce
Create this script in Termux 's ".shortcuts" folder
Forwarded from termux/termux-widget#67
Problem description
Upon launching a script making use of
tsu
'ssudo
through the Termux:Widget module, the script fails and the device starts hanging, apparently due to a memory leakThat script when launched directly through Termux doesn't trigger any issue
Also no issue even with the shortcut when using agnostic-apollo 's sudo
Steps to reproduce
Toggle ADB
Its effect is to toggle device's ADB Daemon on / off according to its state.
Start it from Termux (not shortcut) to see for yourself this works as intended (if rooted).
Create a new shortcut targeting it
Expected behavior
Should work as it would when launched directly through the Termux app
Actual behavior
stop
will fail, and the device will start to hang a few seconds afterScreenshot
Additional information
tsu
package version: unknown (removed; was supposedly current latest - 8.5.1)The text was updated successfully, but these errors were encountered: