projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c009e0
)
[runtime] Call mono_gc_base_init () in sdb, since it is no longer called by the code...
author
Zoltan Varga
<vargaz@gmail.com>
Sun, 30 Nov 2014 14:02:46 +0000
(15:02 +0100)
committer
Zoltan Varga
<vargaz@gmail.com>
Sun, 30 Nov 2014 14:02:46 +0000
(15:02 +0100)
mono/mini/debugger-agent.c
patch
|
blob
|
history
diff --git
a/mono/mini/debugger-agent.c
b/mono/mini/debugger-agent.c
index 4b66e43439048bcd36ba5660eb589a5d7b7fc5bb..e2467da18f04e8e16a433d2134aca0c926838597 100644
(file)
--- a/
mono/mini/debugger-agent.c
+++ b/
mono/mini/debugger-agent.c
@@
-995,6
+995,9
@@
mono_debugger_agent_init (void)
mono_native_tls_alloc (&debugger_tls_id, NULL);
+ /* Needed by the hash_table_new_type () call below */
+ mono_gc_base_init ();
+
thread_to_tls = mono_g_hash_table_new_type (NULL, NULL, MONO_HASH_KEY_GC);
MONO_GC_REGISTER_ROOT_FIXED (thread_to_tls);