Uploaded image for project: 'MediaPortal 1'
  1. MediaPortal 1
  2. MP1-4530

MediaPortal crashes when shutting down PC

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 1.8.100
    • 1.8.0
    • None
    • None

    Description

      <p>​<span style="color: rgb(0, 0, 0); font-family: 'Helvetica Neue', Helvetica-Neue, Arial, sans-serif; line-height: 20px; background-color: rgb(250, 250, 250);">In 1.8 exit procedures were moved into OnFormClosing handler. Before MP was happy to call it multiple times but now it is not since cleanups should not be done multiple times (shutting down fontmanager, texturemanager etc.)</span></p>

      <p><span style="color: rgb(0, 0, 0); font-family: 'Helvetica Neue', Helvetica-Neue, Arial, sans-serif; line-height: 20px; background-color: rgb(250, 250, 250);">OnFormClosing handler is called twice, because of by Windows event triggering (eventually handled by MP) and then again by MP FrameMove explicitly calls Form.Close() which again fires the event and handler OnFormClosing. This has been the case since, I don&#39;t know, from the beginning but clearly again is an incorrect behavior.</span></p>

      <p><span style="color: rgb(0, 0, 0); font-family: 'Helvetica Neue', Helvetica-Neue, Arial, sans-serif; line-height: 20px; background-color: rgb(250, 250, 250);">​</span></p>

      Attachments

        Activity

          People

            sebastiii sebastiii
            HomeY HomeY
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: