Is it way to force redraw all components of GO in inspector?

Subj.
I have some script manages adding/removing others scripts on its GameObject. But when I remove some component, I got error:

MissingReferenceException: The object of type 'script_you_just_remove' has been destroyed but you are still trying to access it.
Your script should either check if it is null or you should not destroy the object.

I belive, it’s because Unity Inspector “don’t know” that removed component does not exists anymore and try to draw it at current iteration. So, I guess I must somehow repaint all components. Is there any way to do it? Thanks.

EditorGUIUtility.ExitGUI() is exactly what I need. Thank you, GameVortex!