Hi
Just found a problem. I accidently created this code:
if (!DesignMode && SaverThread == null)
SaverThread.Something();
which should have been:
if (!DesignMode && SaverThread != null)
SaverThread.Something();
And it caused a stack error in design time. How is that possible?
Shouldn't !DesignTime stop this?
I mean, it runs both, so !DesignTime = false, and that should stop the
IF no matter what. But it does not. Now, I fixed my thread cheking to !
= null, and that stops it for now. But the !DesignMode should do in
the first place anyway, shouldn't it?
Sonnich
|