gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] branch master updated: android fix


From: gnunet
Subject: [taler-wallet-core] branch master updated: android fix
Date: Tue, 10 Dec 2019 23:38:43 +0100

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository wallet-core.

The following commit(s) were added to refs/heads/master by this push:
     new cc137c87 android fix
cc137c87 is described below

commit cc137c87394ec34d2f54d69fe896dfdf3feec5ea
Author: Florian Dold <address@hidden>
AuthorDate: Tue Dec 10 23:38:40 2019 +0100

    android fix
---
 src/crypto/workers/nodeThreadWorker.ts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/crypto/workers/nodeThreadWorker.ts 
b/src/crypto/workers/nodeThreadWorker.ts
index b42031c4..35aa657b 100644
--- a/src/crypto/workers/nodeThreadWorker.ts
+++ b/src/crypto/workers/nodeThreadWorker.ts
@@ -27,6 +27,12 @@ import { CryptoImplementation } from 
"./cryptoImplementation";
 const f = __filename;
 
 const workerCode = `
+  // Try loading the glue library for Android
+  try {
+    require("akono");
+  } catch (e) {
+    // Probably we're not on Android ...
+  }
   const worker_threads = require('worker_threads');
   const parentPort = worker_threads.parentPort;
   let tw;

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]