File tree Expand file tree Collapse file tree 3 files changed +0
-3
lines changed
Multithreading/Sources/MyApp
OffscrenCanvas/Sources/MyApp Expand file tree Collapse file tree 3 files changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -255,7 +255,6 @@ enum OwnedExecutor {
255255
256256 static func main( ) {
257257 JavaScriptEventLoop . installGlobalExecutor ( )
258- WebWorkerTaskExecutor . installGlobalExecutor ( )
259258 let useDedicatedWorker = !( JSObject . global. disableDedicatedWorker. boolean ?? false )
260259
261260 Task {
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import JavaScriptEventLoop
33import JavaScriptKit
44
55JavaScriptEventLoop . installGlobalExecutor ( )
6- WebWorkerTaskExecutor . installGlobalExecutor ( )
76
87func renderInCanvas( ctx: JSObject , image: ImageView ) {
98 let imageData = ctx. createImageData!( image. width, image. height) . object!
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ import JavaScriptEventLoop
22import JavaScriptKit
33
44JavaScriptEventLoop . installGlobalExecutor ( )
5- WebWorkerTaskExecutor . installGlobalExecutor ( )
65
76protocol CanvasRenderer {
87 func render( canvas: JSObject , size: Int ) async throws
You can’t perform that action at this time.
0 commit comments