Skip to content

Commit 3499810

Browse files
committed
example: Remove manual client adding
It is not clear what this does, so remove it.
1 parent c1b4ab4 commit 3499810

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

example/example.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@ int main(int argc, char** argv)
3939
std::promise<mp::EventLoop*> promise;
4040
std::thread loop_thread([&] {
4141
mp::EventLoop loop("mpexample", LogPrint);
42-
{
43-
std::unique_lock<std::mutex> lock(loop.m_mutex);
44-
loop.addClient(lock);
45-
}
4642
promise.set_value(&loop);
4743
loop.loop();
4844
});

0 commit comments

Comments
 (0)