tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

TempFiles.cpp (301B)


      1 // TempFiles.cpp
      2 
      3 #include "StdAfx.h"
      4 
      5 #include "../../../Windows/FileDir.h"
      6 
      7 #include "TempFiles.h"
      8 
      9 using namespace NWindows;
     10 using namespace NFile;
     11 
     12 void CTempFiles::Clear()
     13 {
     14  while (!Paths.IsEmpty())
     15  {
     16    NDir::DeleteFileAlways(Paths.Back());
     17    Paths.DeleteBack();
     18  }
     19 }