S
Sharon
Hello Gurus,
I have an event in a base class B.
Derived class D. And a class U that uses class D.
Class B has an event using Framework 2.0. I have tried to convert the event
and delegate from Framework 2 to the generics events of Framework 3.5, and
together with some other changes a bug has emerged:
The using class U try to register to the event by +=
The bug: The line that register with the += stuck and does not returns.
Note that the event registration in the UI thread.
I have changed back the event to the Framework 2 style, but the bug still
occur.
I couldn’t find any clue that can indicate what can cause this hanging.
Can anyone give any hint what may cause this event registration to hang?
I have an event in a base class B.
Derived class D. And a class U that uses class D.
Class B has an event using Framework 2.0. I have tried to convert the event
and delegate from Framework 2 to the generics events of Framework 3.5, and
together with some other changes a bug has emerged:
The using class U try to register to the event by +=
The bug: The line that register with the += stuck and does not returns.
Note that the event registration in the UI thread.
I have changed back the event to the Framework 2 style, but the bug still
occur.
I couldn’t find any clue that can indicate what can cause this hanging.
Can anyone give any hint what may cause this event registration to hang?