anchor.diff:    if Assigned(Node) then begin
       case FAccountsGridDatasource of
         acds_NodeFiltered: begin
  -        TerminateAccountGridUpdateThread;
  +        TerminateAccountGridUpdateThread(False);
           FAccountsBalance := 0;
           FAccountsGridUpdateThread := TAccountsGridUpdateThread.Create(Self,AccountsGridFilter);
         end;
  
positive.code:       end;
    Finally
      FisProcessing := False;
      if Not Terminated then
        Synchronize(SynchronizedOnTerminated);
    End;
  end;
  
  
negative.code:   UpdateData;
  end;
  
  procedure TAccountsGrid.TerminateAccountGridUpdateThread(AWaitUntilTerminated : Boolean);
  var LTmp : TAccountsGridUpdateThread;
  begin
    LTmp := FAccountsGridUpdateThread;
    FAccountsGridUpdateThread := Nil;
    if Assigned(Ltmp) then begin
      if Not AWaitUntilTerminated then LTmp.FreeOnTerminate := True;
      LTmp.Terminate;
      if AWaitUntilTerminated then begin
        LTmp.WaitFor;
        FreeAndNil(LTmp);
      end;
    end;
  end;
  
  