mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2026-03-09 02:12:50 +00:00
Don't zero-copy transfer buffers from the worker by default
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user