My Wi-Fi interface is unstable and tends to drop the connection once in a while and due to this behavior, TrafficMonitor sometimes crashes and the program should be started manually after that.
So it would be nice if the startup task could restart itself when the program crashes. I tried to edit the task in the Task Scheduler but:
logs:
2022/01/21 12:55:44.168: An exception may have occurred, the currently selected connection is inconsistent with the expected connection. The connection has been retrieved. (1 times has been reinitialized)
2022/01/21 12:55:59.230: An exception may have occurred, the currently selected connection is inconsistent with the expected connection. The connection has been retrieved. (2 times has been reinitialized)
2022/01/21 13:00:41.636: An exception may have occurred, the currently selected connection is inconsistent with the expected connection. The connection has been retrieved. (3 times has been reinitialized)
2022/01/21 13:50:14.552: An exception may have occurred, the currently selected connection is inconsistent with the expected connection. The connection has been retrieved. (4 times has been reinitialized)
2022/01/21 14:07:22.829: An exception may have occurred, the currently selected connection is inconsistent with the expected connection. The connection has been retrieved. (5 times has been reinitialized)
2022/01/21 14:17:35.060: An exception may have occurred, the currently selected connection is inconsistent with the expected connection. The connection has been retrieved. (6 times has been reinitialized)
2022/01/21 14:22:33.243: An exception may have occurred, the currently selected connection is inconsistent with the expected connection. The connection has been retrieved. (7 times has been reinitialized)
2022/01/21 14:22:36.253: An exception may have occurred, the currently selected connection is inconsistent with the expected connection. The connection has been retrieved. (8 times has been reinitialized)
2022/01/21 15:13:32.364: An exception may have occurred, the currently selected connection is inconsistent with the expected connection. The connection has been retrieved. (9 times has been reinitialized)
2022/01/21 15:23:02.445: An exception may have occurred, the currently selected connection is inconsistent with the expected connection. The connection has been retrieved. (10 times has been reinitialized)
2022/01/21 15:23:05.448: An exception may have occurred, the currently selected connection is inconsistent with the expected connection. The connection has been retrieved. (11 times has been reinitialized)
2022/01/21 16:33:54.316: An exception may have occurred, the currently selected connection is inconsistent with the expected connection. The connection has been retrieved. (12 times has been reinitialized)
2022/01/21 16:34:21.476: An exception may have occurred, the currently selected connection is inconsistent with the expected connection. The connection has been retrieved. (13 times has been reinitialized)
2022/01/21 16:34:24.505: An exception may have occurred, the currently selected connection is inconsistent with the expected connection. The connection has been retrieved. (14 times has been reinitialized)
OS: Windows 11 (Build 22538)
TM: 1.82
1条答案
按热度按时间r1zhe5dt1#
I have same problem. I think we need change some code.