projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Request notifications after marking elements as known.
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
main
/
SonePlugin.java
diff --git
a/src/main/java/net/pterodactylus/sone/main/SonePlugin.java
b/src/main/java/net/pterodactylus/sone/main/SonePlugin.java
index
738c0d1
..
5e52b0e
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/main/SonePlugin.java
+++ b/
src/main/java/net/pterodactylus/sone/main/SonePlugin.java
@@
-83,7
+83,7
@@
public class SonePlugin implements FredPlugin, FredPluginFCP, FredPluginL10n, Fr
}
/** The version. */
}
/** The version. */
- public static final Version VERSION = new Version(0,
6, 6
);
+ public static final Version VERSION = new Version(0,
7, 4
);
/** The logger. */
private static final Logger logger = Logging.getLogger(SonePlugin.class);
/** The logger. */
private static final Logger logger = Logging.getLogger(SonePlugin.class);
@@
-103,6
+103,9
@@
public class SonePlugin implements FredPlugin, FredPluginFCP, FredPluginL10n, Fr
/** The l10n helper. */
private PluginL10n l10n;
/** The l10n helper. */
private PluginL10n l10n;
+ /** The web of trust connector. */
+ private WebOfTrustConnector webOfTrustConnector;
+
/** The identity manager. */
private IdentityManager identityManager;
/** The identity manager. */
private IdentityManager identityManager;
@@
-181,7
+184,7
@@
public class SonePlugin implements FredPlugin, FredPluginFCP, FredPluginL10n, Fr
/* create web of trust connector. */
PluginConnector pluginConnector = new PluginConnector(pluginRespirator);
/* create web of trust connector. */
PluginConnector pluginConnector = new PluginConnector(pluginRespirator);
-
WebOfTrustConnector
webOfTrustConnector = new WebOfTrustConnector(pluginConnector);
+ webOfTrustConnector = new WebOfTrustConnector(pluginConnector);
identityManager = new IdentityManager(webOfTrustConnector);
identityManager.setContext("Sone");
identityManager = new IdentityManager(webOfTrustConnector);
identityManager.setContext("Sone");
@@
-236,6
+239,9
@@
public class SonePlugin implements FredPlugin, FredPluginFCP, FredPluginL10n, Fr
/* stop the identity manager. */
identityManager.stop();
/* stop the identity manager. */
identityManager.stop();
+
+ /* stop the web of trust connector. */
+ webOfTrustConnector.stop();
} catch (Throwable t1) {
logger.log(Level.SEVERE, "Error while shutting down!", t1);
} finally {
} catch (Throwable t1) {
logger.log(Level.SEVERE, "Error while shutting down!", t1);
} finally {