Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Don't leak VM handle from async socket close.
  • Loading branch information
jnthn committed Jun 5, 2014
1 parent c0ef75e commit 7fd39c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/IO/Socket/Async.pm
Expand Up @@ -87,6 +87,7 @@ my class IO::Socket::Async {

method close(IO::Socket::Async:D:) {
nqp::closefh($!VMIO);
True;
}

method connect(IO::Socket::Async:U: $host as Str, $port as Int,
Expand Down

0 comments on commit 7fd39c3

Please sign in to comment.