Explorar o código

Programmatic load: process arrivals. Fix #1197.

Herby Vojčík %!s(int64=6) %!d(string=hai) anos
pai
achega
6379a56f8c
Modificáronse 2 ficheiros con 6 adicións e 4 borrados
  1. 4 3
      src/Platform-ImportExport.js
  2. 2 1
      src/Platform-ImportExport.st

+ 4 - 3
src/Platform-ImportExport.js

@@ -3669,6 +3669,7 @@ var self=this,$self=this;
 return $core.withContext(function($ctx1) {
 //>>excludeEnd("ctx");
 $recv($self._commitHandler())._load_($self._package());
+$recv($globals.AmberBootstrapInitialization)._processArrivals();
 return self;
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 }, function($ctx1) {$ctx1.fill(self,"load",{},$globals.PackageTransport)});
@@ -3676,10 +3677,10 @@ return self;
 },
 //>>excludeStart("ide", pragmas.excludeIdeData);
 args: [],
-source: "load\x0a\x09self commitHandler load: self package",
-referencedClasses: [],
+source: "load\x0a\x09self commitHandler load: self package.\x0a\x09AmberBootstrapInitialization processArrivals",
+referencedClasses: ["AmberBootstrapInitialization"],
 //>>excludeEnd("ide");
-messageSends: ["load:", "commitHandler", "package"]
+messageSends: ["load:", "commitHandler", "package", "processArrivals"]
 }),
 $globals.PackageTransport);
 

+ 2 - 1
src/Platform-ImportExport.st

@@ -984,7 +984,8 @@ setupFromJson: anObject
 !PackageTransport methodsFor: 'loading'!
 
 load
-	self commitHandler load: self package
+	self commitHandler load: self package.
+	AmberBootstrapInitialization processArrivals
 ! !
 
 PackageTransport class instanceVariableNames: 'registry'!