<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3199" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face="Trebuchet MS" size=2><SPAN class=265431003-18102007>HI
there,</SPAN></FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN
class=265431003-18102007></SPAN></FONT> </DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN
class=265431003-18102007> I saw that:</SPAN></FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN
class=265431003-18102007></SPAN></FONT> </DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN
class=265431003-18102007>WARegistry>>clearHandlers</SPAN></FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN class=265431003-18102007> |
handlers |<BR> self mutex critical: [<BR> handlers :=
handlersByKey.<BR> handlersByKey := SeasidePlatformSupport
reducedConflictDictionary new.<BR> keysByHandler :=
SeasidePlatformSupport reducedConflictDictionary new ].<BR> handlers
ifNotNil: [<BR> [ handlers do: [ :each | each unregistered ]
]<BR> fork ]</SPAN></FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN
class=265431003-18102007></SPAN></FONT> </DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN class=265431003-18102007>become
overriden to:</SPAN></FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN
class=265431003-18102007></SPAN></FONT> </DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN class=265431003-18102007> |
handlers |<BR> self mutex critical: [<BR> handlers :=
handlersByKey.<BR> handlersByKey := SeasidePlatformSupport
reducedConflictDictionary new.<BR> keysByHandler :=
SeasidePlatformSupport reducedConflictDictionary new ].<BR> handlers
ifNotNil: [<BR> [ handlers do: [ :each | each unregistered ]
]<BR> fork ].<BR> <BR> ^ handlers
size</SPAN></FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN
class=265431003-18102007></SPAN></FONT> </DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN class=265431003-18102007>code which
in fact provides annoyances when handlers is nil. So my suggestion
is:</SPAN></FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN
class=265431003-18102007></SPAN></FONT> </DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN class=265431003-18102007><SPAN
class=265431003-18102007> | handlers |<BR> self mutex critical:
[<BR> handlers := handlersByKey.<BR> handlersByKey :=
SeasidePlatformSupport reducedConflictDictionary
new.<BR> keysByHandler := SeasidePlatformSupport
reducedConflictDictionary new ].<BR> handlers ifNotNil: [<BR> [
handlers do: [ :each | each unregistered ] ]<BR> fork
].<BR> <BR> ^ handlers ifNil:[nil] ifNotNil:[handlers
size]</SPAN></SPAN></FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN class=265431003-18102007><SPAN
class=265431003-18102007></SPAN></SPAN></FONT> </DIV>
<DIV><FONT><SPAN class=265431003-18102007><SPAN
class=265431003-18102007></SPAN></SPAN></FONT><FONT face="Trebuchet MS"
size=2><SPAN class=265431003-18102007>
cheers,</SPAN></FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN
class=265431003-18102007></SPAN></FONT> </DIV>
<DIV align=left><SPAN class=250542422-20122006>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt" align=left><?xml:namespace prefix
= st1 ns = "urn:schemas-microsoft-com:office:smarttags" /><st1:PersonName
ProductID="Sebastian Sastre " w:st="on"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Trebuchet MS'">Sebastian
Sastre<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office"
/><o:p></o:p></SPAN></st1:PersonName></P></DIV></SPAN>
<DIV> </DIV></BODY></HTML>