projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f880936
)
Fix monodis
author
Andi McClure
<andi.mcclure@xamarin.com>
Mon, 27 Feb 2017 20:54:05 +0000
(15:54 -0500)
committer
Andi McClure
<andi.mcclure@xamarin.com>
Mon, 27 Feb 2017 20:54:05 +0000
(15:54 -0500)
monodis was not calling the mono_tls_init_runtime_keys function, which
was causing it to crash the first time it attempted to access the
current domain (ie almost immediately).
mono/dis/main.c
patch
|
blob
|
history
diff --git
a/mono/dis/main.c
b/mono/dis/main.c
index d187f28780a3a5bf81e3271768e0f615cb56a0e2..599651b1368b78f6c6770ff5742d1c6d83495c81 100644
(file)
--- a/
mono/dis/main.c
+++ b/
mono/dis/main.c
@@
-2027,6
+2027,7
@@
main (int argc, char *argv [])
CHECKED_MONO_INIT ();
mono_counters_init ();
+ mono_tls_init_runtime_keys ();
memset (&ticallbacks, 0, sizeof (ticallbacks));
ticallbacks.thread_state_init = thread_state_init;
#ifndef HOST_WIN32