Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004241 [tweak] Any minor always 07-12-06 17:45 07-12-06 17:45
Reporter bert View Status public  
Assigned To
Priority normal Resolution open  
Status new  
Summary 0004241: [FIX] waitUntilAnyOf: releases only first observer
Description After a #waitUntilAnyOf:, only the first ScriptEventObserver was released properly. Fix attached

o := CObject new.
o startScript: [
    duringMy := o handlesEvent: #myEvent.
    duringOther := o handlesEvent: #otherEvent.
    o signal: #myEvent].
beforeMy := o handlesEvent: #myEvent.
beforeOther := o handlesEvent: #otherEvent.
o waitUntilAnyOf: {
    o. #myEvent.
    o. #otherEvent.}.
afterMy := o handlesEvent: #myEvent.
afterOther := o handlesEvent: #otherEvent.
{beforeMy -> duringMy -> afterMy.
beforeOther -> duringOther -> afterOther}.
Additional Information
Attached Files  multiEventFix-bf.1.cs.gz [^] (378 bytes) 07-12-06 17:45

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
07-12-06 17:45 bert New Issue
07-12-06 17:45 bert File Added: multiEventFix-bf.1.cs.gz


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
29 total queries executed.
24 unique queries executed.
Powered by Mantis Bugtracker