File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 7070
7171.monitor-graph-inner {
7272 position : relative;
73+ color : var (--clr-light );
7374 background-color : color-mix (in hsl shorter hue, var (--clr-dark ) 50% , transparent 50% );
7475 width : calc (100% - 200px );
7576 padding : 2px ;
Original file line number Diff line number Diff line change @@ -226,9 +226,9 @@ public static async void WebSocketHandler(HttpListenerContext ctx) {
226226
227227 Thread icmpThread = null ;
228228 Thread wmiThread = null ;
229- Thread smtpThread = null ;
229+ Thread snmpThread = null ;
230230
231- icmpThread = new Thread ( ( ) => IcmpDelegate ( ) ) ;
231+ icmpThread = new Thread ( async ( ) => await IcmpDelegate ( ) ) ;
232232 icmpThread . Start ( ) ;
233233
234234 try {
@@ -252,7 +252,7 @@ public static async void WebSocketHandler(HttpListenerContext ctx) {
252252 case Action . start :
253253 paused = false ;
254254 if ( icmpThread is null ) {
255- icmpThread = new Thread ( ( ) => IcmpDelegate ( ) ) ;
255+ icmpThread = new Thread ( async ( ) => await IcmpDelegate ( ) ) ;
256256 icmpThread . Start ( ) ;
257257 }
258258 break ;
@@ -270,16 +270,16 @@ public static async void WebSocketHandler(HttpListenerContext ctx) {
270270 case Action . addwmi :
271271 queries . TryAdd ( query . index , query ) ;
272272 if ( wmiThread is null ) {
273- wmiThread = new Thread ( ( ) => WmiDelegate ( ) ) ;
273+ wmiThread = new Thread ( async ( ) => await WmiDelegate ( ) ) ;
274274 wmiThread . Start ( ) ;
275275 }
276276 break ;
277277
278278 case Action . addsnmp :
279279 queries . TryAdd ( query . index , query ) ;
280- if ( smtpThread is null ) {
281- smtpThread = new Thread ( ( ) => SnmpDelegate ( ) ) ;
282- smtpThread . Start ( ) ;
280+ if ( snmpThread is null ) {
281+ snmpThread = new Thread ( async ( ) => await SnmpDelegate ( ) ) ;
282+ snmpThread . Start ( ) ;
283283 }
284284 break ;
285285
You can’t perform that action at this time.
0 commit comments