mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-10-18 08:02:56 -04:00
Verified that all ODBs were saved upon termination
This commit is contained in:
@@ -95,6 +95,12 @@ public class ChatService extends Service {
|
||||
return super.initialize();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean terminate() {
|
||||
mails.close();
|
||||
return super.terminate();
|
||||
}
|
||||
|
||||
public void onIntentReceived(Intent i) {
|
||||
switch (i.getType()) {
|
||||
case GalacticPacketIntent.TYPE:
|
||||
|
||||
@@ -178,7 +178,7 @@ public class ObjectManager extends Manager {
|
||||
obj.setOwner(null);
|
||||
}
|
||||
});
|
||||
objects.save();
|
||||
objects.close();
|
||||
return super.terminate();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user