Commit 5c890450 authored by claes's avatar claes

Jop wasn't stopped at xtt termination

parent 6f1a5511
/*
* Proview $Id: xtt_main.cpp,v 1.5 2007-11-30 08:18:27 claes Exp $
* Proview $Id: xtt_main.cpp,v 1.6 2008-04-01 14:19:30 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -194,6 +194,7 @@ void Xtt::qcom_events( void *data)
swap = 0;
xtt->xnav->swap(1);
} else if (new_event.b.terminate) {
delete xtt->xnav;
exit(0);
}
}
......
/*
* Proview $Id: xtt_xnav_gtk.cpp,v 1.3 2008-01-24 09:39:31 claes Exp $
* Proview $Id: xtt_xnav_gtk.cpp,v 1.4 2008-04-01 14:19:30 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -127,10 +127,8 @@ XNavGtk::~XNavGtk()
collect_brow->free_pixmaps();
delete collect_brow;
delete brow;
#if 0
if ( op)
delete op;
#endif
gtk_widget_destroy( form_widget);
}
......
/*
* Proview $Id: xtt_op.cpp,v 1.8 2007-01-04 08:22:47 claes Exp $
* Proview $Id: xtt_op.cpp,v 1.9 2008-04-01 14:19:30 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -55,6 +55,8 @@ Op::Op( void *op_parent_ctx,
//
Op::~Op()
{
if ( jop)
jop->close();
}
int Op::jop_command( char *command)
......
Markdown is supported
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