Skip to content
Snippets Groups Projects
Commit 0bf214c1 authored by edgrif's avatar edgrif
Browse files

replace finalise message with call to _signal_ zmap app to die, finalise must come later.

parent dca83492
No related branches found
No related tags found
No related merge requests found
......@@ -27,9 +27,9 @@
*
* Exported functions: None
* HISTORY:
* Last edited: Aug 1 17:06 2008 (rds)
* Last edited: Dec 19 09:58 2008 (edgrif)
* Created: Thu May 5 18:19:30 2005 (rds)
* CVS info: $Id: zmapAppremote.c,v 1.36 2008-08-01 16:08:46 rds Exp $
* CVS info: $Id: zmapAppremote.c,v 1.37 2008-12-19 10:00:56 edgrif Exp $
*-------------------------------------------------------------------
*/
......@@ -292,7 +292,7 @@ static void send_finalised(ZMapXRemoteObj client)
g_return_if_fail(client != NULL);
/* Send the final quit, after this we can exit. */
/* Send the final quit, after this we can exit. */
if (zMapXRemoteSendRemoteCommand(client, request, &response) != ZMAPXREMOTE_SENDCOMMAND_SUCCEED)
{
response = response ? response : zMapXRemoteGetResponse(client);
......@@ -307,8 +307,6 @@ static gboolean finalExit(gpointer data)
{
ZMapAppContext app_context = (ZMapAppContext)data ;
zmapAppRemoteSendFinalised(app_context);
/* Signal zmap we want to exit now. */
zmapAppExit(app_context) ;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment