diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-09-16 12:14:52 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-09-16 12:14:52 +0000 |
commit | 7ed700d2da9914528b5f1be45adadb1666ad36f4 (patch) | |
tree | 84f1d9b5f2437becc2e2dfab5087079c5508c4de /vm_core.h | |
parent | a2dce5c60ad47282a6ab0aff1796dcc2665baa7c (diff) |
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
Diffstat (limited to 'vm_core.h')
-rw-r--r-- | vm_core.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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 <setjmp.h> #include <signal.h> |