Hello all,
I frequently utilize crosh in order to run
crouton on my Chromebook, which serves my needs well. However, due to the severe memory constraints imposed by the hardware in my Chromebook (I believe this model is among the cheapest available), I often run into issues with chrome's automatic tab discarder. More specifically, while inside a chroot session using crosh and simultaneously doing work in other tabs, chrome will spontaneously kill my crosh tab! As a result, all of the sub-processes spawned within the hterm shell remain alive but inaccessible once the page reloads.
I would really like for tabs containing crosh/nassh to
not be automatically discarded. After a bit of searching, I came across the
extension docs for tabs and found the
autoDiscardable property, which appears to accomplish this.
I've cloned and updated nassh (and crosh) to utilize this feature, but wanted to see if anybody had suggestions before I submit the patch.