mirror of
https://github.com/corda/corda.git
synced 2024-12-29 09:18:58 +00:00
fix member/parameter confusion in Thread::Thread()
This commit is contained in:
parent
527f46d53d
commit
ab47fa7884
@ -1376,7 +1376,7 @@ Thread::Thread(Machine* m, object javaThread, Thread* parent):
|
|||||||
|
|
||||||
builtin::populate(t, m->builtinMap);
|
builtin::populate(t, m->builtinMap);
|
||||||
|
|
||||||
javaThread = makeThread(t, 0, 0, reinterpret_cast<int64_t>(t));
|
t->javaThread = makeThread(t, 0, 0, reinterpret_cast<int64_t>(t));
|
||||||
} else {
|
} else {
|
||||||
threadPeer(this, javaThread) = reinterpret_cast<jlong>(this);
|
threadPeer(this, javaThread) = reinterpret_cast<jlong>(this);
|
||||||
parent->child = this;
|
parent->child = this;
|
||||||
|
Loading…
Reference in New Issue
Block a user