All pastes #2089438 Raw Edit

Stuff

public text v1 · immutable
#2089438 ·published 2011-10-12 16:56 UTC
rendered paste body
diff --git a/libseed/seed-engine.c b/libseed/seed-engine.c
index ce14d62..2098e55 100644
--- a/libseed/seed-engine.c
+++ b/libseed/seed-engine.c
@@ -1729,6 +1729,7 @@ SeedEngine *
 seed_init_with_context_group (gint * argc,
 			      gchar *** argv, JSContextGroupRef group)
 {
+  pthread_key_create(&seed_next_gobject_wrapper_key, NULL);
   return seed_init_with_context_and_group (argc, argv, JSGlobalContextCreateInGroup (group, NULL), group);
 }