Changeset 9619


Ignore:
Timestamp:
Nov 28, 2009, 9:44:27 PM (12 years ago)
Author:
livings124
Message:

Mac message log: 1. when changing logging level, scroll to bottom, 2. free the message list taken from the core outside the lock

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/MessageWindowController.m

    r9618 r9619  
    186186    }
    187187   
    188     tr_freeMessageList(messages);
    189    
    190188    if (changed)
    191189    {
     
    198196   
    199197    [fLock unlock];
     198   
     199    tr_freeMessageList(messages);
    200200}
    201201
     
    331331    [fMessageTable reloadData];
    332332   
     333    if ([fDisplayedMessages count] > 0)
     334        [fMessageTable scrollRowToVisible: [fDisplayedMessages count]-1];
     335   
    333336    [fLock unlock];
    334337}
Note: See TracChangeset for help on using the changeset viewer.