mirror of
https://github.com/wiiu-env/ftpiiu_plugin.git
synced 2024-12-23 03:11:49 +01:00
Make sure the server is destroyed when launching a title
This commit is contained in:
parent
45ea7ac07e
commit
10838cfafb
@ -55,7 +55,8 @@ ON_APPLICATION_START() {
|
||||
nn::ac::GetAssignedAddress(&hostIpAddress);
|
||||
initLogging();
|
||||
|
||||
|
||||
//Make sure the server instance is destroyed.
|
||||
BackgroundThread::destroyInstance();
|
||||
if (gFTPServerEnabled) {
|
||||
startServer();
|
||||
}
|
||||
@ -225,6 +226,5 @@ WUPS_CONFIG_CLOSED() {
|
||||
|
||||
ON_APPLICATION_REQUESTS_EXIT() {
|
||||
stopServer();
|
||||
|
||||
deinitLogging();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user