plug leak: remove message store when complete.

This commit is contained in:
Eric House 2012-03-22 18:49:58 -07:00
parent d8e4cf0c55
commit 622bf21308

View file

@ -333,6 +333,7 @@ public class NBSService extends Service {
store.add( index, msg );
if ( store.isComplete() ) {
s_partialMsgs.remove( id );
byte[] fullMsg = store.message();
perPhone.remove( id );
disAssemble( senderPhone, fullMsg );