Commits

Jan Trtík  committed 37fe1c3

close connection on service shutdown

  • Participants
  • Parent commits 0d2550f

Comments (0)

Files changed (1)

File fan/Mongo.fan

 
   override Void onStop()
   {
+    this.connection.close
     processorPool.stop
   }
   
     return DB(name, this)
   }
   
-}
+}