|
|
@ -67,6 +67,7 @@ public final function _drop() { |
|
|
|
// Drop is called when Acedia is shutting down, so releasing references isn't necessary |
|
|
|
// Drop is called when Acedia is shutting down, so releasing references isn't necessary |
|
|
|
iter = HashTableIterator(completedReplacements.Iterate()); |
|
|
|
iter = HashTableIterator(completedReplacements.Iterate()); |
|
|
|
while (!iter.HasFinished()) { |
|
|
|
while (!iter.HasFinished()) { |
|
|
|
|
|
|
|
nextFunctionInstance = none; |
|
|
|
nextFunctionName = Text(iter.GetKey()); |
|
|
|
nextFunctionName = Text(iter.GetKey()); |
|
|
|
nextSources = ByteArrayBox(originalScriptCodes.GetItem(nextFunctionName)); |
|
|
|
nextSources = ByteArrayBox(originalScriptCodes.GetItem(nextFunctionName)); |
|
|
|
if (nextSources != none ) { |
|
|
|
if (nextSources != none ) { |
|
|
@ -75,6 +76,7 @@ public final function _drop() { |
|
|
|
if (nextFunctionInstance != none) { |
|
|
|
if (nextFunctionInstance != none) { |
|
|
|
nextFunctionInstance.script = nextSources.Get(); |
|
|
|
nextFunctionInstance.script = nextSources.Get(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
iter.Next(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|