// Yeah, I know, because one session is being deserialized, we go and lock all of them...
InternalWorkingMemory[] wms = buildContext.getWorkingMemories();
if ( wms.length > 0 ) {
initialFactNode.attach( wms );
} else {
initialFactNode.attach();
}
} finally {
context.ruleBase.unlock();
}
// ------- END RANT -----