Skip to content

Commit dd20832

Browse files
Merge pull request #352 from swiftwasm/katei/remove-deprecated-api-use
2 parents 43ab7e7 + 18563b9 commit dd20832

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

Examples/ActorOnWebWorker/Sources/MyApp.swift

-1
Original file line numberDiff line numberDiff 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 {

Examples/Multithreading/Sources/MyApp/main.swift

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import JavaScriptEventLoop
33
import JavaScriptKit
44

55
JavaScriptEventLoop.installGlobalExecutor()
6-
WebWorkerTaskExecutor.installGlobalExecutor()
76

87
func renderInCanvas(ctx: JSObject, image: ImageView) {
98
let imageData = ctx.createImageData!(image.width, image.height).object!

Examples/OffscrenCanvas/Sources/MyApp/main.swift

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import JavaScriptEventLoop
22
import JavaScriptKit
33

44
JavaScriptEventLoop.installGlobalExecutor()
5-
WebWorkerTaskExecutor.installGlobalExecutor()
65

76
protocol CanvasRenderer {
87
func render(canvas: JSObject, size: Int) async throws

0 commit comments

Comments
 (0)