Endless Loop Windows 7

I have made a mistake in C++. Because of that, there was an endless while loop in my code (derived from actor). I derived a blueprint class from this class and the blueprint didn’t open. Instead the Engine didn’t react anymore, so I needed to shut it down in the task manager. As I deleted the endless loop, everything was normal.