I think we have the same problem - see Rhino 8.9 layer table window not updating and crashing - Rhino Developer - McNeel Forum ?
We found from Rhino 8.9 the LayerTable Viewer is significiently less forgiving of work on the background thread & in Rhino 7 we also did not have an issue.