If I start the Library Browser, then close the CalibreSpy window via its Exit button, and then click the Next book button in the Library Browser I get the error below
After copying the error message I clicked OK in its popup, unbeknownst to me the Library Browser window hid itself behind the main calibre window

Then to confirm the sequence I repeated the steps - twice.
From there I got into a situation where a modal popup, waiting for input (I think), was hidden behind its parent window - pressing Esc and Enter didn't satisfy it. A taskbar->right click revealed I had three Library Browser windows hanging around, and Close All Windows didn't work! So, I started Task Manager and killed the main calibre window task.
IMO - if the CalibreSpy window is Exited it should take its child windows with it. And/or when the Library Browser gets a 'serious' error it should terminate after the user has 'dealt' with the error popup. Or the Library Browser ought be able withstand the loss of its parent CalibreSpy window - I suspect that's a pretty big ask
BR
Code:
calibre, version 3.35.0
ERROR: Unhandled exception: <b>RuntimeError</b>:wrapped C/C++ object of type QTableWidget has been deleted
calibre 3.35 [64bit] embedded-python: True is64bit: True
Windows-10-10.0.17134-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.17134')
Python 2.7.12+
Windows: ('10', '10.0.17134', 'SP0', u'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: Goodreads (1, 3, 0) && GetFileName (0, 0, 13) && EpubSplit (2, 5, 0) && Resize Cover (1, 0, 3) && Find Duplicates (1, 6, 3) && Quality Check (1, 9, 11) && Generate Cover (1, 5, 21) && Extract ISBN (1, 4, 4) && Drop Search Results (1, 0, 8) && Favourites Menu (1, 0, 4) && Job Spy (1, 0, 137) && Reading List (1, 6, 6) && View Manager (1, 3, 2) && Beam Ebooks (1, 0, 0) && Modify ePub (1, 3, 13) && CalibreSpy (1, 0, 65) && User Category (1, 5, 3) && Barnes & Noble (1, 2, 15) && Count Pages (1, 8, 2)
Traceback (most recent call last):
File "calibre_plugins.calibrespy.library_browser_dialog", line 373, in next
RuntimeError: wrapped C/C++ object of type QTableWidget has been deleted