Browse Source

kernel: initialize outer contexts as well

Herbert Vojčík 7 years ago
parent
commit
4a8a507527
1 changed files with 3 additions and 0 deletions
  1. 3 0
      support/kernel-runtime.js

+ 3 - 0
support/kernel-runtime.js

@@ -289,6 +289,9 @@ define(function () {
             while (frame) {
                 if (frame.init !== this.init) return frame.init();
                 frame.setup(frame);
+                if (frame.outerContext) {
+                    frame.outerContext.init();
+                }
                 frame = frame.homeContext;
             }
         });