Skip to content

Commit 725beea

Browse files
committed
doc: fix DrahtBot LLM Linter error
Possible typos and grammar issues: - “try unregister this callback” -> “try to unregister this callback” [missing “to” for infinitive] #186 (comment)
1 parent 7455fc0 commit 725beea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mp/proxy.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ std::tuple<ConnThread, bool> SetThread(ConnThreads& threads, std::mutex& mutex,
321321

322322
// Connection is being destroyed before thread client is, so reset
323323
// thread client m_disconnect_cb member so thread client destructor does not
324-
// try unregister this callback after connection is destroyed.
324+
// try to unregister this callback after connection is destroyed.
325325
// Remove connection pointer about to be destroyed from the map
326326
const std::unique_lock<std::mutex> lock(mutex);
327327
thread->second.m_disconnect_cb.reset();

0 commit comments

Comments
 (0)