ResourceManager: Do not double initalize the NepomukMainModel

Review Request #105281 - Created June 17, 2012 and submitted

Information
Vishesh Handa
nepomuk-core
Reviewers
nepomuk, release-team
trueg
ResourceManager: Do not double initalize the NepomukMainModel

The NepomukMainModel is initalized once when it is created and then the
second time in ResourceManager::init.

This results in a second connection being made to nepomukstorage, and an
extra thread being spawned over there. The old thread is eventually
deleted, but the whole process is rather pointless.

  
Sebastian Trueg
Vishesh Handa
Sebastian Trueg
Vishesh Handa
Albert Astals Cid
Commit Hook
Commit Hook
Vishesh Handa
Review request changed

Status: Closed (submitted)

Loading...