<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hello!<br>
    <br>
    We would like to contribute to VirtualBox under MIT license. We send
    our changes to fix bug described at <a class="moz-txt-link-freetext" href="https://www.virtualbox.org/ticket/13789">https://www.virtualbox.org/ticket/13789</a>
    .<br>
    <br>
    The idea is that functions <i>Medium::removeRegistry()</i> and <i>Medium::addRegistry()</i>
    themselves take write locks on mediums, so we get read lock only for
    <i>Medium::getAnyMachineBackref()</i> call in <i>VirtualBox::unregisterMachine()</i>
    function. Also we release read lock on medium after we got its
    parent and before we are going to iterate through parents in <i>Machine::detachAllMedia()</i>
    function.<br>
    <br>
    Regards,<br>
    Alexander<br>
    <br>
  </body>
</html>