Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

binding: close all async handles

  • Loading branch information...
commit aa4d62aed53cf4d128b9415efad14de35323b28d 1 parent 8939d16
@indutny authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  src/audio/binding.cc
View
2  src/audio/binding.cc
@@ -64,6 +64,8 @@ Audio::Audio(double rate, size_t frame_size, ssize_t latency)
Audio::~Audio() {
uv_close(reinterpret_cast<uv_handle_t*>(&in_async_), NULL);
+ uv_close(reinterpret_cast<uv_handle_t*>(&inready_async_), NULL);
+ uv_close(reinterpret_cast<uv_handle_t*>(&outready_async_), NULL);
delete unit_;
}
Please sign in to comment.
Something went wrong with that request. Please try again.