Fix non freed windows handle. (thx to jaroslav.fojtik)
<?xml version="1.0"?>
<!DOCTYPE PyObject SYSTEM "PyObjects.dtd">
<PyObject module="node" class="Node" id="172546092">
<attr name="Profile" type="dict" id="172160380" >
</attr>
<attr name="Name" type="string">TestSlaveB</attr>
<attr name="Dictionary" type="dict" id="172160516" >
<entry>
<key type="numeric" value="4096" />
<val type="numeric" value="301" />
</entry>
<entry>
<key type="numeric" value="4097" />
<val type="numeric" value="0" />
</entry>
<entry>
<key type="numeric" value="4099" />
<val type="list" id="172639756" >
<item type="numeric" value="0" />
<item type="numeric" value="0" />
<item type="numeric" value="0" />
<item type="numeric" value="0" />
<item type="numeric" value="0" />
<item type="numeric" value="0" />
<item type="numeric" value="0" />
<item type="numeric" value="0" />
</val>
</entry>
<entry>
<key type="numeric" value="8192" />
<val type="numeric" value="0" />
</entry>
<entry>
<key type="numeric" value="4101" />
<val type="numeric" value="128" />
</entry>
<entry>
<key type="numeric" value="6144" />
<val type="list" id="172545964" >
<item type="string" value="{True:"$NODEID+0x%X80"%(base+1),False:0}[base<4]" />
<item type="numeric" value="0" />
<item type="numeric" value="0" />
<item type="numeric" value="0" />
<item type="numeric" value="0" />
</val>
</entry>
<entry>
<key type="numeric" value="4112" />
<val type="list" id="172545932" >
<item type="numeric" value="0" />
<item type="numeric" value="0" />
<item type="numeric" value="0" />
<item type="numeric" value="0" />
</val>
</entry>
<entry>
<key type="numeric" value="4113" />
<val type="list" id="172546348" >
<item type="numeric" value="0" />
<item type="numeric" value="0" />
<item type="numeric" value="0" />
<item type="numeric" value="0" />
</val>
</entry>
<entry>
<key type="numeric" value="6656" />
<val type="list" id="172545196" >
<item type="numeric" value="536870928" />
</val>
</entry>
<entry>
<key type="numeric" value="4608" />
<val type="list" id="172546444" >
<item type="string" value=""$NODEID+0x600"" />
<item type="string" value=""$NODEID+0x580"" />
</val>
</entry>
<entry>
<key type="numeric" value="4119" />
<val type="numeric" value="0" />
</entry>
<entry>
<key type="numeric" value="4120" />
<val type="list" id="172545484" >
<item type="numeric" value="305419897" />
<item type="numeric" value="2417112150L" />
<item type="numeric" value="2022707764" />
<item type="numeric" value="1450741778" />
</val>
</entry>
<entry>
<key type="numeric" value="4116" />
<val type="string" value=""$NODEID+0x80"" />
</entry>
<entry>
<key type="numeric" value="4102" />
<val type="numeric" value="0" />
</entry>
</attr>
<attr name="SpecificMenu" type="list" id="172546540" >
</attr>
<attr name="ParamsDictionary" type="dict" id="172160652" >
<entry>
<key type="numeric" value="6144" />
<val type="dict" id="172160788" >
<entry>
<key type="numeric" value="2" />
<val type="dict" id="172160924" >
<entry>
<key type="string" value="save" />
<val type="True" value="" />
</entry>
</val>
</entry>
<entry>
<key type="numeric" value="3" />
<val type="dict" id="172161060" >
<entry>
<key type="string" value="save" />
<val type="True" value="" />
</entry>
</val>
</entry>
</val>
</entry>
<entry>
<key type="numeric" value="6146" />
<val type="dict" id="172161196" >
<entry>
<key type="numeric" value="2" />
<val type="dict" id="172161332" >
<entry>
<key type="string" value="comment" />
<val type="string">EVENT</val>
</entry>
</val>
</entry>
<entry>
<key type="numeric" value="3" />
<val type="dict" id="172161468" >
<entry>
<key type="string" value="comment" />
<val type="string">5000*100 µC = 500 ms</val>
</entry>
</val>
</entry>
<entry>
<key type="numeric" value="4" />
<val type="dict" id="172161604" >
<entry>
<key type="string" value="comment" />
<val type="string" value="" />
</entry>
</val>
</entry>
<entry>
<key type="numeric" value="5" />
<val type="dict" id="172161740" >
<entry>
<key type="string" value="comment" />
<val type="string">1000 ms</val>
</entry>
</val>
</entry>
</val>
</entry>
<entry>
<key type="numeric" value="6147" />
<val type="dict" id="172161876" >
<entry>
<key type="numeric" value="2" />
<val type="dict" id="172162012" >
<entry>
<key type="string" value="comment" />
<val type="string">RTR_SYNC</val>
</entry>
</val>
</entry>
</val>
</entry>
<entry>
<key type="numeric" value="6148" />
<val type="dict" id="172162148" >
<entry>
<key type="numeric" value="2" />
<val type="dict" id="172162284" >
<entry>
<key type="string" value="comment" />
<val type="string">RTR</val>
</entry>
</val>
</entry>
</val>
</entry>
<entry>
<key type="numeric" value="4112" />
<val type="dict" id="172162420" >
<entry>
<key type="string" value="callback" />
<val type="True" value="" />
</entry>
</val>
</entry>
<entry>
<key type="numeric" value="4113" />
<val type="dict" id="172162556" >
<entry>
<key type="string" value="callback" />
<val type="True" value="" />
</entry>
</val>
</entry>
<entry>
<key type="numeric" value="4099" />
<val type="dict" id="172162692" >
<entry>
<key type="string" value="callback" />
<val type="True" value="" />
</entry>
</val>
</entry>
<entry>
<key type="numeric" value="4119" />
<val type="dict" id="172162828" >
<entry>
<key type="string" value="callback" />
<val type="True" value="" />
</entry>
</val>
</entry>
</attr>
<attr name="UserMapping" type="dict" id="172150540" >
<entry>
<key type="numeric" value="8192" />
<val type="dict" id="172149588" >
<entry>
<key type="string" value="need" />
<val type="False" value="" />
</entry>
<entry>
<key type="string" value="values" />
<val type="list" id="172545100" >
<item type="dict" id="172146732" >
<entry>
<key type="string" value="access" />
<val type="string" value="rw" />
</entry>
<entry>
<key type="string" value="pdo" />
<val type="True" value="" />
</entry>
<entry>
<key type="string" value="type" />
<val type="numeric" value="6" />
</entry>
<entry>
<key type="string" value="name" />
<val type="string">SlaveBMap1</val>
</entry>
</item>
</val>
</entry>
<entry>
<key type="string" value="name" />
<val type="string">SlaveBMap1</val>
</entry>
<entry>
<key type="string" value="struct" />
<val type="numeric" value="1" />
</entry>
</val>
</entry>
</attr>
<attr name="DS302" type="dict" id="172147004" >
</attr>
<attr name="ProfileName" type="string" value="DS-301" />
<attr name="Type" type="string">slave</attr>
<attr name="ID" type="numeric" value="0" />
<attr name="Description" type="string" value="" />
</PyObject>