Skip to content

Commit 7dc2180

Browse files
committed
up
1 parent 7d363d3 commit 7dc2180

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Event.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,8 @@ public static void processOutEvents()
327327
Dbg.ERROR_MSG("Event::processOutEvents: event=" + eobj.info.funcname + "\n" + e.ToString());
328328
}
329329

330-
doingEvents_out.RemoveFirst();
330+
if(doingEvents_out.Count > 0)
331+
doingEvents_out.RemoveFirst();
331332
}
332333
}
333334

@@ -366,7 +367,8 @@ public static void processInEvents()
366367
Dbg.ERROR_MSG("Event::processInEvents: event=" + eobj.info.funcname + "\n" + e.ToString());
367368
}
368369

369-
doingEvents_in.RemoveFirst();
370+
if(doingEvents_in.Count > 0)
371+
doingEvents_in.RemoveFirst();
370372
}
371373
}
372374

0 commit comments

Comments
 (0)