Skip to content

Commit 255d68d

Browse files
author
Lewis Lakerink
committed
Updated to latest bridge
1 parent c541515 commit 255d68d

10 files changed

Lines changed: 2604 additions & 2580 deletions

File tree

.idea/.idea.Threading/.idea/workspace.xml

Lines changed: 2598 additions & 2574 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bin/Debug/Bridge.dll

512 Bytes
Binary file not shown.

bin/Debug/Threading.dll

0 Bytes
Binary file not shown.

docs/bridge.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26508,6 +26508,8 @@ Bridge.define("System.Text.RegularExpressions.RegexParser", {
2650826508
var entryPointRef = System.Threading.Utils.WorkerThreadManager.getObjectRefFromString(window, startData.threadEntryPoint);
2650926509
// Get the param from the message
2651026510
var param = startData.threadParam;
26511+
// Set the thread id
26512+
System.Threading.Utils.WorkerThreadManager._threadId = startData.threadId;
2651126513
// Try to call the function
2651226514
try {
2651326515
// Call the function with the parameter, and get the result
@@ -26516,12 +26518,12 @@ Bridge.define("System.Text.RegularExpressions.RegexParser", {
2651626518
// Send the result back to the main thread
2651726519
System.Threading.Utils.WorkerThreadManager._worker.postMessage(Bridge.Json.serialize({ msgType: System.Threading.Utils.WorkerThreadManager.MessageType.Finish, data: { threadId: startData.threadId, result: Bridge.unbox(Bridge.unbox(result)) } }));
2651826520
}
26519-
catch (e) {
26520-
e = System.Exception.create(e);
26521+
catch ($e2) {
26522+
$e2 = System.Exception.create($e2);
2652126523
// An exception occurred running the thread start function
2652226524
System.Threading.Utils.WorkerThreadManager._worker.postMessage(Bridge.Json.serialize({ msgType: System.Threading.Utils.WorkerThreadManager.MessageType.Exception, data: { threadId: startData.threadId } }));
2652326525
// Continue raising the exception in this thread so it is printed to the console
26524-
throw e;
26526+
throw $e2;
2652526527
}
2652626528
break;
2652726529
default:

docs/bridge.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
/home/lewis/Projects/BridgeThreadingExample/BridgeThreadingExample/obj/Debug/.NETFramework,Version=v4.5.AssemblyAttribute.cs
22
/home/lewis/Projects/BridgeThreadingExample/BridgeThreadingExample/bin/Debug/Threading.dll.mdb
33
/home/lewis/Projects/BridgeThreadingExample/BridgeThreadingExample/bin/Debug/Threading.dll
4-
/home/lewis/Projects/BridgeThreadingExample/BridgeThreadingExample/obj/Debug/Threading.dll
5-
/home/lewis/Projects/BridgeThreadingExample/BridgeThreadingExample/obj/Debug/Threading.dll.mdb
64
/home/lewis/Projects/BridgeThreadingExample/BridgeThreadingExample/bin/Debug/Bridge.dll
75
/home/lewis/Projects/BridgeThreadingExample/BridgeThreadingExample/bin/Debug/Bridge.Html5.dll
0 Bytes
Binary file not shown.
28 Bytes
Binary file not shown.
512 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)