The refcount in the edgex_autoimpl structure is a legacy of the earlier scheduler implementation.
PR Checklist
Please check if your PR fulfills the following requirements:
[x] I am not introducing a breaking change (if you are, flag in conventional commit message with BREAKING CHANGE: describing the break)
[x] I am not introducing a new dependency (add notes below if you are)
[ ] I have added unit tests for the new feature or bug fix (if not, why?)
[ ] I have fully tested (add details below) this the new feature or bug fix (if not, why?)
[ ] I have opened a PR for the related docs change (if not, why?)
Testing Instructions
Run in debug mode and set a breakpoint at the first line of the ae_runner function. When the breakpoint is hit, delete the device and resume the program.
With this fix the device service is running smoothly without getting a segmentation fault.
fix: #494
The refcount in the edgex_autoimpl structure is a legacy of the earlier scheduler implementation.
PR Checklist
Please check if your PR fulfills the following requirements:
BREAKING CHANGE:
describing the break)Testing Instructions
Run in debug mode and set a breakpoint at the first line of the
ae_runner
function. When the breakpoint is hit, delete the device and resume the program.With this fix the device service is running smoothly without getting a segmentation fault.