Commit Graph

3 Commits

Author SHA1 Message Date
Pale Moon ad306ebe8f Make SystemResourceMonitor.stop more resilient to errors.
- Deal with the fact that on Linux, pipe isn't actually a pipe, meaning ends can die independently.
- Establish a timeout so we don't hang forever if the child process has crashed.
- Reduce the poll timeout to 0.1 since we don't have to wait that long anymore now the underlying issue has been fixed.
2018-07-25 09:24:06 +08:00
Pale Moon 175a33ff3c Convert resourcemonitor poll() to float, and break the loop immediately when done. 2018-07-25 09:21:13 +08:00
Moonchild baf46a6bf1 Merge pull request #1 from mozilla/esr38: Esr38 upstream pull 2018-07-24 23:04:07 +08:00