Commit 4498447d authored by Claes Sjofors's avatar Claes Sjofors

rt_xtt, try/catch added for set_signal_flags

parent 9206b737
......@@ -56,6 +56,7 @@
#include "xtt_item.h"
#include "pwr_privilege.h"
#include "cow_wow.h"
#include "co_error.h"
#define max(Dragon,Eagle) ((Dragon) > (Eagle) ? (Dragon) : (Eagle))
#define min(Dragon,Eagle) ((Dragon) < (Eagle) ? (Dragon) : (Eagle))
......@@ -593,7 +594,10 @@ int XAttNav::trace_scan_bc( brow_tObject object, void *p)
// Add signal flags
XAttNav *xattnav;
brow_GetCtxUserData( brow_GetCtx( item->node), (void **)&xattnav);
((ItemCollect *)item)->set_signal_flags( xattnav->brow);
try {
((ItemCollect *)item)->set_signal_flags( xattnav->brow);
}
catch ( co_error& e) {}
}
if ( !item->first_scan)
......
......@@ -2559,7 +2559,10 @@ int XNav::trace_scan_bc( brow_tObject object, void *p)
// Add signal flags
XNav *xnav;
brow_GetCtxUserData( brow_GetCtx( item->node), (void **)&xnav);
((ItemCollect *)item)->set_signal_flags( xnav->brow);
try {
((ItemCollect *)item)->set_signal_flags( xnav->brow);
}
catch ( co_error& e) {}
}
if ( !item->first_scan)
......
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