← Back to team overview

linuxdcpp-team team mailing list archive

[Branch ~dcplusplus-team/dcplusplus/trunk] Rev 2917: Fixed a major slow down in the DebugFrame due to an unneeded callAsync

 

------------------------------------------------------------
revno: 2917
committer: iceman50 <bdcdevel@xxxxxxxxx>
branch nick: dcplusplus
timestamp: Thu 2012-05-10 14:12:47 -0500
message:
  Fixed a major slow down in the DebugFrame due to an unneeded callAsync
modified:
  win32/DebugFrame.cpp


--
lp:dcplusplus
https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk

Your team Dcplusplus-team is subscribed to branch lp:dcplusplus.
To unsubscribe from this branch go to https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk/+edit-subscription
=== modified file 'win32/DebugFrame.cpp'
--- win32/DebugFrame.cpp	2012-05-10 19:05:05 +0000
+++ win32/DebugFrame.cpp	2012-05-10 19:12:47 +0000
@@ -171,7 +171,7 @@
 }
 
 void DebugFrame::addDbgLine(const string& cmd) {
-	callAsync([=] { cmdList.push_back(cmd); });
+	cmdList.push_back(cmd);
 	
 	auto x = Util::emptyString;
 	{