Author Topic: Error On Shut Down  (Read 419 times)

nighthawk68

  • Newbie
  • *
  • Posts: 3
When I exit out of Musicbee with background processes running I get this error every time. I click yes to the pop-up. I was on the latest version but same error after upgrading to 3.6:

MusicBee v3.6.9202.37404D  (Win10.0), 28 Mar 2025 18:43:

System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
   at System.Collections.ArrayList.ArrayListEnumeratorSimple.MoveNext()
   at System.Windows.Forms.Application.ExitInternal()
   at System.Windows.Forms.Application.Exit(CancelEventArgs e)
   at #=zYdI5i8kMzDGj8sVmbUvsI5QqkU2Q.#=zaP7bE58=.#=zi54Znw0=(ApplicationCommand #=zvOpMj8w=, Object #=zBu_gETQ=, IList`1 #=z_v6Nfh8=)
   at #=zWXWPzxFdEEVvDvYDO$H4DEo=.OnClick(EventArgs #=zcSC7hHA=)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)



Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 34982
This fixes the issue:
https://getmusicbee.com/patches/MusicBee36_Patched.zip
unzip and replace the existing musicbee application files