=================================================================== RCS file: /cvs/djgpp/djgpp/src/mwdpmi/clients.c,v retrieving revision 1.1 retrieving revision 1.2 diff -p -u -r1.1 -r1.2 --- djgpp/src/mwdpmi/clients.c 2001/02/07 10:18:09 1.1 +++ /cvs/djgpp/djgpp/src/mwdpmi/clients.c 2001/03/28 05:13:48 1.2 @@ -272,6 +272,10 @@ client_terminate (int code) } client_free (); client_count--; + + if(client_count) + set_current_client(primary_client_handle, 1); + if (client_count == 0 && one_shot_mode && unload_safe ()) unload (termination_regs.h.al); else