Fix help menu crashes upon program close in Xpressive and Slew Distortion (#8150)
This commit is contained in:
@@ -68,8 +68,8 @@ class SlewDistortionHelpView : public QTextEdit
|
||||
public:
|
||||
static SlewDistortionHelpView* getInstance()
|
||||
{
|
||||
static SlewDistortionHelpView instance;
|
||||
return &instance;
|
||||
static SlewDistortionHelpView* instance = new SlewDistortionHelpView;
|
||||
return instance;
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
@@ -214,8 +214,8 @@ class XpressiveHelpView: public QTextEdit
|
||||
public:
|
||||
static XpressiveHelpView* getInstance()
|
||||
{
|
||||
static XpressiveHelpView instance;
|
||||
return &instance;
|
||||
static XpressiveHelpView* instance = new XpressiveHelpView;
|
||||
return instance;
|
||||
}
|
||||
static void finalize()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user