diff options
Diffstat (limited to 'cpp/bindings')
| -rw-r--r-- | cpp/bindings/qmf/python/qmf.py | 3 | ||||
| -rw-r--r-- | cpp/bindings/qmf/ruby/qmf.rb | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/cpp/bindings/qmf/python/qmf.py b/cpp/bindings/qmf/python/qmf.py index eec975c50f..e4ab581dfd 100644 --- a/cpp/bindings/qmf/python/qmf.py +++ b/cpp/bindings/qmf/python/qmf.py @@ -242,8 +242,7 @@ class Connection(Thread): def kick(self): - self._sockEngine.send(".") - # self._sockEngine.flush() Not available with python? + self.impl.notify() def add_conn_handler(self, handler): diff --git a/cpp/bindings/qmf/ruby/qmf.rb b/cpp/bindings/qmf/ruby/qmf.rb index cc2aadc337..ce824b3605 100644 --- a/cpp/bindings/qmf/ruby/qmf.rb +++ b/cpp/bindings/qmf/ruby/qmf.rb @@ -216,8 +216,7 @@ module Qmf end def kick - @sockEngine.write(".") - @sockEngine.flush + @impl.notify end def add_conn_handler(handler) |
