} catch (Exception e) {
logger.log(Level.SEVERE, localStrings.getLocalString("JMSContext.impl.close.failure",
"Failed to close JMSContext instance associated with id {0}: {1}.",
ipId, context.toString()), e);
} finally {
if (inv != null && currentInv != inv) invMgr.postInvoke(inv);
}
}
}
contexts.clear();
}