Skip to content

Commit

Permalink
Add the comment
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongwuzw committed Dec 11, 2024
1 parent 80e31b3 commit fcdc14f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ - (RCTFabricSurface *)createSurfaceWithModuleName:(NSString *)moduleName
[self _attachSurface:surface];

__weak RCTFabricSurface *weakSurface = surface;
// Use the BufferedRuntimeExecutor to start the surface after the main JS bundle was fully executed.
[_instance callFunctionOnBufferedRuntimeExecutor:[weakSurface](facebook::jsi::Runtime &_) { [weakSurface start]; }];
return surface;
}
Expand Down

0 comments on commit fcdc14f

Please sign in to comment.