View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004004 | JEDI VCL | 00 JVCL Components | public | 2006-11-22 09:39 | 2006-11-22 11:52 |
Reporter | ykami | Assigned To | AHUser | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | Daily / GIT | ||||
Target Version | Fixed in Version | ||||
Summary | 0004004: JvBackground - AV occurs when delete a component in form designer. | ||||
Description | Access violation occurs when I delete a JvBackground component after having registered a component with a Clients property, and IDE crashes. | ||||
Additional Information | reproduction procedure: 1. Create new VCL Form Application. 2. Put the JvBackgound component. 3. Put the GroupBox. 4. Add GroupBox1 to Clients property of JvBackground. 5. Delete JvBackgound component. | ||||
Tags | No tags attached. | ||||
2006-11-22 09:39
|
JvBackgrounds.patch (348 bytes)
Index: JvBackgrounds.pas =================================================================== --- JvBackgrounds.pas (revision 11023) +++ JvBackgrounds.pas (working copy) @@ -1756,6 +1756,7 @@ destructor TJvBackground.Destroy; begin DeallocateHWnd(FHandle); + FClients.Clear; FClients.Free; Backgrounds.Remove(Self); FImage.Free; |
|
Fixed in SVN. I haven't used you patch because the actual bug is that the TJvBackgroundClients.Destroy doesn't call it's own Clear implementation. (what your patch does from outside the class) |
Date Modified | Username | Field | Change |
---|---|---|---|
2006-11-22 09:39 | ykami | New Issue | |
2006-11-22 09:39 | ykami | File Added: JvBackgrounds.patch | |
2006-11-22 11:52 | AHUser | Status | new => resolved |
2006-11-22 11:52 | AHUser | Resolution | open => fixed |
2006-11-22 11:52 | AHUser | Assigned To | => AHUser |
2006-11-22 11:52 | AHUser | Note Added: 0010441 |