[Kde-bindings] [Bug 108650] memory leak in qtruby? (Qt::Socket)

Caleb Tennis caleb at gentoo.org
Wed Jul 6 17:21:24 UTC 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=108650         




------- Additional Comments From caleb gentoo org  2005-07-06 19:21 -------
This seems to work as a workaround:

  def MessageReceivedSlot
    bytes = [ ]
    while true
      c =  socket getch
      break if c == -1
      bytes << c
    end
    strings = bytes.pack("C*")
    strings.split("\n").each { |s| emit MessageSignal(s) unless s.empty? }
  end



More information about the Kde-bindings mailing list