mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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:
parent
d98a362c1a
commit
53d317b9ac
2 changed files with 6 additions and 0 deletions
|
@ -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); */
|
||||
|
|
Loading…
Reference in a new issue