mirror of
https://github.com/corda/corda.git
synced 2025-01-24 05:18:24 +00:00
add todo comment to classpath-common.h
This commit is contained in:
parent
544cebb7f0
commit
bc2b4802ec
@ -172,6 +172,8 @@ loadLibrary(Thread* t, const char* path, const char* name, bool mapName,
|
|||||||
// library is built in to this executable
|
// library is built in to this executable
|
||||||
if (runOnLoad and not t->m->triedBuiltinOnLoad) {
|
if (runOnLoad and not t->m->triedBuiltinOnLoad) {
|
||||||
t->m->triedBuiltinOnLoad = true;
|
t->m->triedBuiltinOnLoad = true;
|
||||||
|
// todo: release the classLock before calling this to
|
||||||
|
// avoid the possibility of deadlock:
|
||||||
runOnLoadIfFound(t, t->m->libraries);
|
runOnLoadIfFound(t, t->m->libraries);
|
||||||
}
|
}
|
||||||
return t->m->libraries;
|
return t->m->libraries;
|
||||||
|
Loading…
Reference in New Issue
Block a user