- Msg->event_loop(1, 0.05);
- Msg->event_loop(1, 0.05);
- Msg->event_loop(1, 0.05);
- Msg->event_loop(1, 0.05);
- Msg->event_loop(1, 0.05);
- Msg->event_loop(1, 0.05);
- Msg->event_loop(1, 0.05);
- Msg->event_loop(1, 0.05);
- Msg->event_loop(1, 0.05);
- Msg->event_loop(1, 0.05);
- Msg->event_loop(1, 0.05);
- Msg->event_loop(1, 0.05);
+ Msg->event_loop(100, 0.01);
+
+ # disconnect users
+ foreach $dxchan (DXChannel->get_all_users) {
+ $dxchan->disconnect;
+ }
+
+ # disconnect AGW
+ AGWMsg::finish();
+
+ # disconnect UDP customers
+ UDPMsg::finish();
+
+ # end everything else
+ Msg->event_loop(100, 0.01);