|
Post by bono78 on Mar 13, 2009 3:12:00 GMT -5
hi kelly! i've found a nice problem again and i don't know how to solve it! it's very simple to reproduce it: - make an active-x-exe - set the project-threading-model to "thread per object" - make one simple test-class with 2 testfunctions Public Sub test1() Dim rd As New RijndaelManaged rd.Clear Set rd = Nothing End Sub
Public Sub test2() End Sub
- compile it and make a application for testing it ... - on ... Set x = New TestActiveXExe.Main x.test1 Set x = nothing
... the TestActiveXExe-Process will hang in the TaskManager - on ... Set x = New TestActiveXExe.Main x.test2 Set x = nothing
... the cleanup of the processes will be fine ... so it isn't a active-x-exe-problem is there any function in vbcorlib to cleenup all references? any idea how to solve this? thanks in advance, bono
|
|