diff options
author | Andi McClure <andi.mcclure@xamarin.com> | 2017-02-27 23:54:05 +0300 |
---|---|---|
committer | Andi McClure <andi.mcclure@xamarin.com> | 2017-02-27 23:54:05 +0300 |
commit | 0c38b2846af114a74c0f5b8ea5c9decd5ca52f18 (patch) | |
tree | 083726569a895013a90200dd6325183fe15bed01 | |
parent | f88093694ba41081548d831df07ecd9071f221cf (diff) |
Fix monodis
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).
-rw-r--r-- | mono/dis/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mono/dis/main.c b/mono/dis/main.c index d187f28780a..599651b1368 100644 --- 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 |