Fix objj_eval (used in objj REPL, etc).

This commit is contained in:
Tom Robinson committed 2010-03-16 22:38:30 -07:00
1 parent 3ee3acc948
commit 9c342ca19c
1 file changed
+6 -3
+6 -3
View File
@@ -218,10 +218,13 @@ Executable.prototype.loadFileDependencies = function(aCallback)
{
var status = this._fileDependencyStatus;
if (status === ExecutableLoadedFileDependencies)
return aCallback();
if (aCallback)
{
if (status === ExecutableLoadedFileDependencies)
return aCallback();
this._fileDependencyCallbacks.push(aCallback)
this._fileDependencyCallbacks.push(aCallback);
}
if (status === ExecutableUnloadedFileDependencies)
{