Bug fixing

+ DB access is now right and uses copied sessions
+ DB session is now specifying the safe state and the mode
+ Fixed the issue with too early ICCC messages regarding to late cache
+ Add the MIME type for Dart
+ Fixed the issuse with wrong order of shutdown handlers
- TODO: Testing of these changes
This commit is contained in:
Thorsten Sommer committed 2014-06-04 21:41:18 +02:00
1 parent 86451938ec
commit 7120a729bd
19 files changed
+85 -48

No files matched your search

+6
View File
@@ -78,11 +78,17 @@ func initSystem() {
Log.LoggingIsReady()
// Register all system shutdown handlers:
//
// Please notice: If the shutdown event occurs ...
// * all application handlers are called (order: last comed, first served)
// * then, these system handlers are called (order: last comed, first served)
// * and finally, the logging device / system gets closed
Shutdown.InitShutdown()
Shutdown.AddShutdownHandler(ICCC.ShutdownFunction{})
Shutdown.AddShutdownHandler(NumGen.ShutdownFunction{})
Shutdown.AddShutdownHandler(ConfigurationDB.ShutdownFunction{})
Shutdown.AddShutdownHandler(CustomerDB.ShutdownFunction{})
// The logging subsystem is not registered here, because it will be automated called at the end
// Register all system ICCC commands: