View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000448 | .NET API | Implementation Bug | public | 2008-08-25 14:03 | 2010-12-20 02:13 |
Reporter | keke | Assigned To | Randy Armstrong | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Summary | 0000448: Invalid IDisposable implementation | ||||
Description | I've been looking into the source code and for me it seems there is a bug in the IDisposable implementation in every class which implements it. .NET Framework Developer's Guide I found the following things: As far as I can see the IDisposable implementations do not implement destructor (~) for finalization. There is no check if the object has already been disposed There is no support for object disposing when there is a inheritance hierarchy. Normally this is done by implementing protected Dispose() method as you can see from the link. Easiest way is just to search for IDisposable or Dispose(). E.g. you can look into Opc.Server which has Dispose() method (which is actually virtual?). I'm not sure but this might be related to the fact that even though I Dispose() all the objects I still receive data updates from the OPC server for the subscriptions. | ||||
Steps To Reproduce | Search for Dispose( or see which classes implement IDisposable interface | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2008-08-25 14:03 | keke | New Issue | |
2008-08-28 08:12 | Randy Armstrong | Note Added: 0000784 | |
2008-08-28 08:12 | Randy Armstrong | Status | new => acknowledged |
2010-12-20 02:13 | Randy Armstrong | Status | acknowledged => resolved |
2010-12-20 02:13 | Randy Armstrong | Resolution | open => fixed |
2010-12-20 02:13 | Randy Armstrong | Assigned To | => Randy Armstrong |
2010-12-20 02:13 | Randy Armstrong | Note Added: 0002203 |