зеркало из https://github.com/github/ruby.git
* vm.c (vm_free): clear free'ed living_threads field.
[ruby-dev:31163] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
d98a362c1a
Коммит
53d317b9ac
|
@ -1,3 +1,8 @@
|
|||
Fri Jul 13 17:32:37 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* vm.c (vm_free): clear free'ed living_threads field.
|
||||
[ruby-dev:31163]
|
||||
|
||||
Fri Jul 13 16:10:00 2007 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* lib/open-uri.rb (URI::Generic#find_proxy): use ENV.to_hash to access
|
||||
|
|
1
vm.c
1
vm.c
|
@ -1448,6 +1448,7 @@ vm_free(void *ptr)
|
|||
rb_vm_t *vmobj = ptr;
|
||||
|
||||
st_free_table(vmobj->living_threads);
|
||||
vmobj->living_threads = 0;
|
||||
/* TODO: MultiVM Instance */
|
||||
/* VM object should not be cleaned by GC */
|
||||
/* ruby_xfree(ptr); */
|
||||
|
|
Загрузка…
Ссылка в новой задаче