File tree 3 files changed +0
-3
lines changed
Multithreading/Sources/MyApp
OffscrenCanvas/Sources/MyApp
3 files changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -255,7 +255,6 @@ enum OwnedExecutor {
255
255
256
256
static func main( ) {
257
257
JavaScriptEventLoop . installGlobalExecutor ( )
258
- WebWorkerTaskExecutor . installGlobalExecutor ( )
259
258
let useDedicatedWorker = !( JSObject . global. disableDedicatedWorker. boolean ?? false )
260
259
261
260
Task {
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import JavaScriptEventLoop
3
3
import JavaScriptKit
4
4
5
5
JavaScriptEventLoop . installGlobalExecutor ( )
6
- WebWorkerTaskExecutor . installGlobalExecutor ( )
7
6
8
7
func renderInCanvas( ctx: JSObject , image: ImageView ) {
9
8
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
2
2
import JavaScriptKit
3
3
4
4
JavaScriptEventLoop . installGlobalExecutor ( )
5
- WebWorkerTaskExecutor . installGlobalExecutor ( )
6
5
7
6
protocol CanvasRenderer {
8
7
func render( canvas: JSObject , size: Int ) async throws
You can’t perform that action at this time.
0 commit comments