From 0d707d608fc79417f372aeedbfe3e674a2e42c57 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 16 Sep 2015 12:14:52 +0000 Subject: vm_core.h: revert VM objspace on Windows * vm_core.h (ENABLE_VM_OBJSPACE): disable now, as socklist and conlist will be freed exit_handler(), after object space destruction. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- vm_core.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/vm_core.h b/vm_core.h index 8c44b2d018..4b7d946e1f 100644 --- a/vm_core.h +++ b/vm_core.h @@ -49,8 +49,17 @@ #endif #ifndef ENABLE_VM_OBJSPACE +#ifdef _WIN32 +/* + * TODO: object space independent st_table. + * socklist and conlist will be freed exit_handler(), after object + * space destruction. + */ +#define ENABLE_VM_OBJSPACE 0 +#else #define ENABLE_VM_OBJSPACE 1 #endif +#endif #include #include -- cgit v1.2.3