Salome HOME
projects
/
modules
/
visu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc2ae24
)
Issue 0020458: [CEA 351] SIGSEGV on SALOME closing after Delete of VISU entry
author
vsr
<vsr@opencascade.com>
Thu, 27 Aug 2009 16:43:54 +0000
(16:43 +0000)
committer
vsr
<vsr@opencascade.com>
Thu, 27 Aug 2009 16:43:54 +0000
(16:43 +0000)
src/VISU_I/VISU_Prs3d_i.cc
patch
|
blob
|
history
diff --git
a/src/VISU_I/VISU_Prs3d_i.cc
b/src/VISU_I/VISU_Prs3d_i.cc
index fdc4ef087cc53cdcdbf472508ca33ab07f5bd99e..620cf98d36caafbc3cd07d9fbc29fcc43c832aab 100644
(file)
--- a/
src/VISU_I/VISU_Prs3d_i.cc
+++ b/
src/VISU_I/VISU_Prs3d_i.cc
@@
-100,7
+100,10
@@
VISU::Prs3d_i::~Prs3d_i()
{
if(MYDEBUG) MESSAGE("Prs3d_i::~Prs3d_i - this = "<<this);
ProcessVoidEvent(new TInvokeSignalEvent(myRemoveActorsFromRendererSignal));
- if(myResult) myResult->Destroy();
+ // VSR (27/08/09): Next line is commented, because it causes SIGSEGV
+ // : Actually not needed, 'cause GenericObjPtr watches to the stored pointer and
+ // : calls Destroy() in its destructor.
+ //if(myResult) myResult->Destroy();
}