removed tricky memory leak in chat lobbies due to handling of partial messages

This commit is contained in:
csoler 2016-04-21 22:07:50 -04:00
parent 7aea6e5bf8
commit e9fa9eb317
6 changed files with 30 additions and 27 deletions

View file

@ -63,7 +63,7 @@ public:
// derived in p3ChatService, so as to pass down some info
virtual void handleIncomingItem(RsItem *) = 0;
virtual bool handleRecvChatMsgItem(RsChatMsgItem *ci)=0 ;
virtual bool handleRecvChatMsgItem(RsChatMsgItem *& ci)=0 ;
bool handleOutgoingItem(RsChatItem *) ;
bool handleRecvItem(RsChatItem *) ;