Skip to content

Commit

Permalink
Don't zero-copy transfer buffers from the worker by default
Browse files Browse the repository at this point in the history
  • Loading branch information
twiss committed Jul 14, 2020
1 parent 1c41c72 commit 3218f7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/worker/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ function delegate(id, method, options) {
* @param {Object} event Contains event type and data
*/
function response(event) {
self.postMessage(event, openpgp.util.getTransferables(event.data, true));
self.postMessage(event, openpgp.util.getTransferables(event.data, openpgp.config.zero_copy));
}

/**
Expand Down

0 comments on commit 3218f7b

Please sign in to comment.