Slicer: 2145-support-for-installing-extension-from-file d8f46c07

Author Committer Branch Timestamp Parent
jcfr jcfr 2145-support-for-installing-extension-from-file 2013-10-02 22:34:11 2145-support-for-installing-extension-from-file d37c07e8
Changeset

BUG: Prevent leaks when factory methods are used from python

There is currently no automatic/clean mechanism to release the object
created by factory methods.

The only "hack" that exists for now is to decrease the reference
count manually in your code:

For more details, see [1], [2], [3] and [4]

[1] http://wiki.slicer.org/slicerWiki/index.php/Documentation/Nightly/Developers/Tutorials/MemoryManagement
[2] http://massmail.spl.harvard.edu/public-archives/slicer-devel/2011/007513.html
[3] http://www.vtk.org/Bug/view.php?id=12139
[4] http://www.vtk.org/pipermail/vtk-developers/2011-April/009757.html

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22570 3bd1e089-480b-0410-8dfb-8563597acbee

mod - Applications/SlicerApp/Testing/Python/ScenePerformance.py Diff File
mod - Base/Python/sitkUtils.py Diff File