Revision 6ee27eb1133fabe55515ecddd3e2ab27521f0cab authored by Bertrand Bellenot on 03 October 2023, 11:25:39 UTC, committed by GitHub on 03 October 2023, 11:25:39 UTC
* Fix potential crash of the rreader test on Windows

Delete the `TFile` pointers, preventing a potential crash in `TROOT::CloseFiles()` when trying to call the `Close()` method on `TWebSocket`/`TWebFile` via the interpreter `CallFunc_Exec` on Windows (visble with LLVM 16)

* Use `std::unique_ptr` instead of deleting the pointers (thanks Jonas)
1 parent 06a9a55
Raw File
eventload.cxx
// @(#)root/test:$Id$
// Author: Rene Brun   10/01/97

{
//  This macro loads the shared library libEvent.so provided in $ROOTSYS/test.
//  Before executing this macro, we assume that:
//     - you have changed your current directory to $ROOTSYS/test.
//     - you have executed Event.
//  If not, go to directory test and issue the commands:
//       make Event      to generate the executable module and shared library
//       Event           to produce the file Event.root
//

//   Load shared library created in $ROOTSYS/test/libEvent.so
   gSystem.Load("libEvent");
}
back to top