Skip to content

Commit

Permalink
removed useless mutex
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Kraynyukhov committed Jun 2, 2018
1 parent 753d272 commit 886aecb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/Application.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ namespace LAppS
typedef std::shared_ptr<::abstract::Worker> WorkerSPtrType;
std::atomic<bool> mMayRun;
std::atomic<bool> mCanStop;
std::mutex mMutex;
std::string mName;
std::string mTarget;
size_t max_inbound_message_size;
Expand Down Expand Up @@ -96,7 +95,7 @@ namespace LAppS
}

explicit Application(const std::string& appName,const std::string& target,const size_t mims)
: mMayRun{true},mMutex(),mName(appName), mTarget(target),
: mMayRun{true},mName(appName), mTarget(target),
max_inbound_message_size(mims),mAppContext(appName,this)
{
itc::Singleton<WSWorkersPool<TLSEnable,StatsEnable>>::getInstance()->getWorkers(mWorkers);
Expand Down

0 comments on commit 886aecb

Please # to comment.