Skip to content

MongoFactoryBean does not call Mongo.close() on shutdown [DATAMONGO-181] #1116

Closed
@spring-projects-issues

Description

@spring-projects-issues

Tomasz Nurkiewicz opened DATAMONGO-181 and commented

MongoFactoryBean should call Mongo.close() on created object. Otherwise some resources aren't properly closed on application shutdown. For instance Tomcat reports two Mongo threads not being closed on shutdown


Affects: 1.0 M3

Referenced from: commits 9421c45, 6373a70

1 votes, 2 watchers

Metadata

Metadata

Assignees

Labels

in: coreIssues in core supporttype: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions