diff options
author | shirosaki <shirosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-09-28 13:43:21 +0000 |
---|---|---|
committer | shirosaki <shirosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-09-28 13:43:21 +0000 |
commit | fd50c2ee44e8ed1b1bc9bbc945638a121c4c8468 (patch) | |
tree | 4a6161740c7011465721cf12a6afee8f58d0aa44 /test/psych | |
parent | c4130b0958f0a8c88011d8fc4aeb54ab1b35f3d5 (diff) |
io.c: fix segfault with closing socket on Windows
* io.c (fptr_finalize_flush): add an argument to keep GVL.
* io.c (fptr_finalize): adjust for above change.
* io.c (io_close_fptr): closing without GVL causes another
exception while raising exception in another thread. This causes
segfault on Windows. Keep GVL while closing when another thread
raises.
[Bug #13856] [ruby-core:82602]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/psych')
0 files changed, 0 insertions, 0 deletions