Project

General

Profile

Bug #393

历史插件多屏时只查询一屏另一个屏幕也会有内容刷出来,并且关闭非查询的历史插件会造成崩溃

Added by jiwei shi almost 5 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
12/24/2019
Due date:
% Done:

100%

Estimated time:
Defect version:

Description

两个屏幕,第一个打开查询操作,多次查询,第二个历史插件也会刷出查询的内容,此时第二个历史插件切换到其他界面,再次点击第一个屏幕的查询操作,会造成崩溃

History

#1

Updated by jiwei shi almost 5 years ago

  • Target version set to 2.2.3 sp1

全局对象g_pApp的使用不严谨,没打开一个历史插件,会把g_pApp的m_pMainWnd置为框架CMainFrame对象的指针,当销毁最后打开历史插件再去查询时会造成崩溃;
解决:每个插件都使用自己的框架CMainFrame对象指针,只有一般的常量比如读取的配置不会做修改,可以多个插件界面共用时才去用做全局变量

#2

Updated by jiwei shi almost 5 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
#3

Updated by xiangyang li about 4 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF