fix: crash when edit dictionary through menu. when goldendict starts.

This commit is contained in:
xiaoyifang 2022-01-23 11:22:40 +08:00
parent 492f394675
commit 5af49e49eb

View file

@ -386,7 +386,7 @@ ArticleView::~ArticleView()
{ {
cleanupTemp(); cleanupTemp();
audioPlayer->stop(); audioPlayer->stop();
channel->deregisterObject(this); //channel->deregisterObject(this);
ui.definition->ungrabGesture( Gestures::GDPinchGestureType ); ui.definition->ungrabGesture( Gestures::GDPinchGestureType );
ui.definition->ungrabGesture( Gestures::GDSwipeGestureType ); ui.definition->ungrabGesture( Gestures::GDSwipeGestureType );
} }