You do need to call mongoose.disconnect() to close the connection, but you also need to wait until all save calls have completed their async ...
確定! 回上一頁