Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

In GUIManager.EvaluationDone(): Invoke the callback directly, before …

…signalling the AsyncResult.

2009-06-15  Martin Baulig  <martin@ximian.com>

	* classes/GUIManager.cs
	(GUIManager.EvaluationDone): Invoke the callback directly, don't
	queue it as an event - it must be called before signalling the
	AsyncResult.

svn path=/branches/mono-2-4-2/debugger/; revision=136161
  • Loading branch information...
commit cc60631cbec69b023e524a5a1d4efcfb1f6f8a67 1 parent 34b708d
Martin Baulig authored
Showing with 8 additions and 23 deletions.
  1. +7 −0 ChangeLog
  2. +1 −23 classes/GUIManager.cs
View
7 ChangeLog
@@ -1,3 +1,10 @@
+2009-06-15 Martin Baulig <martin@ximian.com>
+
+ * classes/GUIManager.cs
+ (GUIManager.EvaluationDone): Invoke the callback directly, don't
+ queue it as an event - it must be called before signalling the
+ AsyncResult.
+
2009-06-10 Martin Baulig <martin@ximian.com>
* frontend/Expression.cs
View
24 classes/GUIManager.cs
@@ -307,30 +307,8 @@ public override void ProcessEvent ()
void EvaluationDone (EE.EvaluationResult result, object data)
{
- Manager.QueueEvent (new EvaluateDoneEvent {
- Manager = Manager, Callback = Callback, Result = result, Data = data
- });
- }
- }
-
- protected class EvaluateDoneEvent : Event
- {
- public EE.EvaluationCallback Callback {
- get; set;
- }
-
- public EE.EvaluationResult Result {
- get; set;
- }
-
- public object Data {
- get; set;
- }
-
- public override void ProcessEvent ()
- {
Manager.break_mode = true;
- Callback (Result, Data);
+ Callback (result, data);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.