private void EventLoop() { while (running) { var e = vm.GetNextEventSet(); if (e == null) { return; } foreach (var evt in e.Events) { running = HandleEvent(evt, e.SuspendPolicy); if (!running) { break; } } } }
private void EventLoop() { while (running) { var e = vm.GetNextEventSet(); if (e == null) { return; } foreach (var evt in e.Events) { running = HandleEvent(evt, e.SuspendPolicy); if (!running) { break; } } } }