[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bindings
Subject:    [Kde-bindings] [Bug 108650] memory leak in qtruby? (Qt::Socket)
From:       Caleb Tennis <caleb () gentoo ! org>
Date:       2005-07-06 17:21:24
Message-ID: 20050706172124.10816.qmail () ktown ! kde ! org
[Download RAW message or body]

------- 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
_______________________________________________
Kde-bindings mailing list
Kde-bindings@kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic