mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
a2dce5c60a
commit
7ed700d2da
1 changed files with 9 additions and 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>
|
||||
|
|
Loading…
Add table
Reference in a new issue