Skip to content

Commit

Permalink
fix: don't apply again when terminating
Browse files Browse the repository at this point in the history
  • Loading branch information
Tony Fettes committed Aug 5, 2024
1 parent f10473e commit 8983a49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Webapi/Dom/Webapi__Dom__Worker.re
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ include Webapi__Dom__EventTarget.Impl({
[@mel.new] external make: string => t = "Worker";
[@mel.new] external makeWithUrl: Webapi__Url.t => t = "Worker";
[@mel.send.pipe: t] external postMessage: 'a => unit = "postMessage";
[@mel.send.pipe: t] external terminate: unit => unit = "terminate";
[@mel.send.pipe: t] external terminate: unit = "terminate";

[@mel.send.pipe: t]
external addMessageEventListener:
Expand Down

0 comments on commit 8983a49

Please sign in to comment.