Directly quitting a `pvpython` interactive session generates leaks
Interactive pvpython
generates leaks upon quit()
Steps to reproduce
- Build ParaView
master
inDebug
mode - Start
BUILD_DIR/bin/pvpython
from the command line - Exit the python session using
quit()
$ ./bin/pvpython
Python 3.11.3 (main, Apr 5 2023, 15:52:25) [GCC 12.2.1 20230201] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> quit()
vtkDebugLeaks has detected LEAKS!
Class "vtkCLIOptions" has 1 instance still around.
Class "vtkMPICommunicator" has 2 instances still around.
Notes
-
Ctrl-D
exiting of the python session does not write the same output to the console -
exit()
does write the same output to the console