mirror of
https://github.com/greenshot/greenshot
synced 2025-08-20 21:43:24 -07:00
Fixed NullReference at Shutdown
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@867 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
aeefa9a767
commit
2c8bf66009
2 changed files with 6 additions and 2 deletions
|
@ -66,7 +66,9 @@ namespace GreenshotConfluencePlugin {
|
|||
public virtual void Shutdown() {
|
||||
LOG.Debug("Plugin shutdown.");
|
||||
host.OnImageEditorOpen -= new OnImageEditorOpenHandler(ImageEditorOpened);
|
||||
confluenceConnector.logout();
|
||||
if (confluenceConnector != null) {
|
||||
confluenceConnector.logout();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
@ -67,7 +67,9 @@ namespace GreenshotJiraPlugin {
|
|||
public virtual void Shutdown() {
|
||||
LOG.Debug("Plugin shutdown.");
|
||||
host.OnImageEditorOpen -= new OnImageEditorOpenHandler(ImageEditorOpened);
|
||||
jiraConnector.logout();
|
||||
if (jiraConnector != null) {
|
||||
jiraConnector.logout();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue