Modify ↓
Opened on Sep 8, 2014 at 10:00:52 PM
Last modified on Mar 16, 2024 at 9:54:44 AM
#2887 assigned Bug
AutoIt fails to deallocate a COM object when it gets reassigned
| Reported by: | anonymous | Owned by: | Jon |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | 3.3.13.19 | Severity: | None |
| Keywords: | COM | Cc: |
Description
Reassigning a value to a COM object results in a crash.
Attachments (1)
Change History (5)
by , on Sep 8, 2014 at 10:02:56 PM
| Attachment: | COMcrash.au3 added |
|---|
comment:1 by , on Sep 9, 2014 at 7:55:08 AM
Just to make clear what the script shows:
The crash occurs when trying to assign an object to a variable already containing an object without first destroying the previous instance by assigning a non-object value(Null, 0, "", etc) to the variable before the reassignation. If the previous instance is destroyed then the new assignation occurs without problem. It does not matter if the new assignation is the same object or a new one.
M23
comment:2 by , on Sep 17, 2014 at 8:00:42 PM
| Owner: | set to |
|---|---|
| Status: | new → assigned |
comment:4 by , on Mar 16, 2024 at 9:54:44 AM
| Owner: | changed from to |
|---|
Note:
See TracTickets
for help on using tickets.

minimal and standalone script that crashes AutoIt