From: Andrew M. <fit...@us...> - 2006-08-29 01:28:27
|
Update of /cvsroot/radmind/radmind-assistant/rte In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv26652 Modified Files: RXAuthRW.m Log Message: Fix for hang occurring when sending dictionary containing attributed string across threads. Index: RXAuthRW.m =================================================================== RCS file: /cvsroot/radmind/radmind-assistant/rte/RXAuthRW.m,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** RXAuthRW.m 26 Apr 2006 14:02:27 -0000 1.19 --- RXAuthRW.m 29 Aug 2006 01:28:24 -0000 1.20 *************** *** 298,303 **** } if ( action == FSDIFF ) { ! [ transcriptLines addObject: [ NSMutableDictionary dictionaryForLine: ! [ NSString stringWithUTF8String: buf ]]]; if ( [ transcriptLines count ] % 100 == 0 ) { --- 298,303 ---- } if ( action == FSDIFF ) { ! [ transcriptLines addObject: ! [ NSString stringWithUTF8String: buf ]]; if ( [ transcriptLines count ] % 100 == 0 ) { *************** *** 367,371 **** case FSDIFF: ! [ rxt addLines: transcriptLines fromThreadWithID: [ self threadID ]]; break; --- 367,374 ---- case FSDIFF: ! if ( [ transcriptLines count ] ) { ! [ rxt addLines: transcriptLines ! fromThreadWithID: [ self threadID ]]; ! } break; *************** *** 380,386 **** if ( transcriptLines != nil ) { ! [ transcriptLines release ]; } - if ( twhichOutput != nil ) { [ twhichOutput release ]; --- 383,388 ---- if ( transcriptLines != nil ) { ! [ transcriptLines release ]; } if ( twhichOutput != nil ) { [ twhichOutput release ]; |