mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Fix crash when a user removes a formula when its preview is being generated. (Another signal/destructor/gcc3 bug)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19667 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f289399bf5
commit
f982b5e051
@ -62,6 +62,13 @@ RenderPreview::RenderPreview(RenderPreview const & other,
|
||||
{}
|
||||
|
||||
|
||||
RenderPreview::~RenderPreview()
|
||||
{
|
||||
if (ploader_connection_.connected())
|
||||
ploader_connection_.disconnect();
|
||||
}
|
||||
|
||||
|
||||
auto_ptr<RenderBase> RenderPreview::clone(Inset const * inset) const
|
||||
{
|
||||
return auto_ptr<RenderBase>(new RenderPreview(*this, inset));
|
||||
|
@ -49,6 +49,7 @@ public:
|
||||
|
||||
RenderPreview(Inset const *);
|
||||
RenderPreview(RenderPreview const &, Inset const *);
|
||||
~RenderPreview();
|
||||
std::auto_ptr<RenderBase> clone(Inset const *) const;
|
||||
|
||||
/// Compute the size of the object, returned in dim
|
||||
|
Loading…
Reference in New Issue
Block a user