From 125075b79668f493244e4e05d022773fc363356c Mon Sep 17 00:00:00 2001 From: booo Date: Fri, 6 Jul 2012 14:15:51 +0200 Subject: [PATCH] call uv_poll_start on Flush() --- src/binding.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/binding.cc b/src/binding.cc index 54e4b4e..62f0b2e 100644 --- a/src/binding.cc +++ b/src/binding.cc @@ -306,7 +306,7 @@ protected: { if(PQflush(connection_) == 1) { TRACE("Flushing"); - //ev_io_start(EV_DEFAULT_ &write_watcher_); + uv_poll_start(&write_watcher_, UV_WRITABLE, io_event); } }