getOrCreateIsolate(isolateIndex);
if (putSource(swfIndex, module, bitmap, name, text,
isolateIndex)) {
// have we changed the list since last query
if (!m_sourceListModified)
addEvent(new FileListModifiedEvent());
m_sourceListModified = true;
}
break;
}
case DMessage.InRemoveScript: {
long module = msg.getDWord();
int isolateId = msg.getTargetIsolate();
Map<Integer, DModule> source = getIsolateState(isolateId).m_source;
synchronized (source) {
if (removeSource((int) module, isolateId)) {
// have we changed the list since last query
if (!m_sourceListModified)
addEvent(new FileListModifiedEvent());
m_sourceListModified = true; /* current source list is stale */
}
}
break;