wankdanker / node-odbc

ODBC bindings for node
MIT License
174 stars 79 forks source link

Fix unref of uninitialized async handle. #28

Closed bnoordhuis closed 7 years ago

bnoordhuis commented 7 years ago

ODBCConnection::CloseSync() tried to unref a uv_async_t which hadn't been initialized.

Remove the handle altogether, it isn't used anywhere else anymore, and the ersatz reference counting scheme it was used for is taken care of by uv_queue_work().