Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix leak of DeviceTransportMgr in CHIPDeviceController #4415

Merged
merged 2 commits into from
Jan 22, 2021

Conversation

mspang
Copy link
Contributor

@mspang mspang commented Jan 19, 2021

DeviceTransportMgr is created in Init() but not deleted in Shutdown().

DeviceTransportMgr is created in Init() but not deleted in Shutdown().
@mspang
Copy link
Contributor Author

mspang commented Jan 22, 2021

@mspang mspang merged commit de748d4 into project-chip:master Jan 22, 2021
@mspang mspang deleted the for-chip/transport-leak branch January 22, 2021 22:06
PeterC1965 added a commit to PeterC1965/connectedhomeip that referenced this pull request Aug 20, 2024
mergify bot pushed a commit that referenced this pull request Aug 29, 2024
* Add checks for correct DEM feature map for test

* Add checks for a nominalPower having a value and get slotIndex check correct

* Allow a little tolerance checking the duration returned in the event as CI tests can run slower

* Restyled by clang-format

* Restyled by autopep8

* Add check DEM feature map step + add event registration step if necessary and renumber test cases

* Fix issue #4415 Fails randomly on CI when checking pause duration

* Test an illegal slot index == number of slots in a forecast

* Add a test in PFR when ModifyForecastRequest does not specify NominalPower

* Set ClusterRevision to 4

* First versionof DEM 1-1

* Regenerate files

* Get DEM 1.1 test passing

* Update test step definitions

* Get featureSet option correct

* Restyled by autopep8

* First cut of a Q quality test

* Regenerate files following a re-bootstrap

* Fix typo in comment

* Cancel subscriptions at the end of the test

* Add a cancel subscription method

* Ensure MatterReportingAttributeChangeCallback is called after forecast is changed

* Restyled by autopep8

* Restyled by isort

* Fix ruff detected errors

* Restyled by autopep8

* Fix the cancelling of subscriptions

* Used .name instead of needing a feature string mapping.

* Removed TC_DEM_1_1 now that the test plan has removed this test case.

* Corrected Featuremap -> FeatureMap in test steps

* Aligned verification step 2 on TC_DEM_2.3 to actual code and syncd test plan.

* Aligned verification step 2 on TC_DEM_2.4 to actual code and syncd test plan.

* Added in missing text in step 18 in TC_DEM_2.4

* TC_DEM_2.5 minor update to step 2 and aligning to updated test plan.

* TC_DEM_2.5 - slight change to call to name args in validate_feature_map() call

* TC_DEM_2.6,2.7,2.8 step 2 alignment with tweaked test plan

* TC_DEM_2.6/2.7/2.8 - slight change to call to name args in validate_feature_map() call

* Corrected log message in TC_DEM_2.9 step 4b

* Updated TC_DEM_2.10 (Q Quality) Basic structure is there - steps need tidying up and fails due to powerAdjustmentCapability not being updated as expected.

* Fixed bug where PowerAdjustReason wasn't calling MatterReportingAttributeChangeCallback when reason was changing.

* Restyled by clang-format

* Restyled by autopep8

* Restyled by isort

* Autogen'd the TestSteps from latest test plan

* Changed featureSet to 0x7b to enable PA, PFR, FA (plus other) features

---------

Co-authored-by: Restyled.io <commits@restyled.io>
Co-authored-by: James Harrow <james.harrow@gmail.com>
Co-authored-by: Hasty Granbery <hasty@granbery.org>
shgutte pushed a commit to shgutte/connectedhomeip that referenced this pull request Sep 10, 2024
* Add checks for correct DEM feature map for test

* Add checks for a nominalPower having a value and get slotIndex check correct

* Allow a little tolerance checking the duration returned in the event as CI tests can run slower

* Restyled by clang-format

* Restyled by autopep8

* Add check DEM feature map step + add event registration step if necessary and renumber test cases

* Fix issue project-chip#4415 Fails randomly on CI when checking pause duration

* Test an illegal slot index == number of slots in a forecast

* Add a test in PFR when ModifyForecastRequest does not specify NominalPower

* Set ClusterRevision to 4

* First versionof DEM 1-1

* Regenerate files

* Get DEM 1.1 test passing

* Update test step definitions

* Get featureSet option correct

* Restyled by autopep8

* First cut of a Q quality test

* Regenerate files following a re-bootstrap

* Fix typo in comment

* Cancel subscriptions at the end of the test

* Add a cancel subscription method

* Ensure MatterReportingAttributeChangeCallback is called after forecast is changed

* Restyled by autopep8

* Restyled by isort

* Fix ruff detected errors

* Restyled by autopep8

* Fix the cancelling of subscriptions

* Used .name instead of needing a feature string mapping.

* Removed TC_DEM_1_1 now that the test plan has removed this test case.

* Corrected Featuremap -> FeatureMap in test steps

* Aligned verification step 2 on TC_DEM_2.3 to actual code and syncd test plan.

* Aligned verification step 2 on TC_DEM_2.4 to actual code and syncd test plan.

* Added in missing text in step 18 in TC_DEM_2.4

* TC_DEM_2.5 minor update to step 2 and aligning to updated test plan.

* TC_DEM_2.5 - slight change to call to name args in validate_feature_map() call

* TC_DEM_2.6,2.7,2.8 step 2 alignment with tweaked test plan

* TC_DEM_2.6/2.7/2.8 - slight change to call to name args in validate_feature_map() call

* Corrected log message in TC_DEM_2.9 step 4b

* Updated TC_DEM_2.10 (Q Quality) Basic structure is there - steps need tidying up and fails due to powerAdjustmentCapability not being updated as expected.

* Fixed bug where PowerAdjustReason wasn't calling MatterReportingAttributeChangeCallback when reason was changing.

* Restyled by clang-format

* Restyled by autopep8

* Restyled by isort

* Autogen'd the TestSteps from latest test plan

* Changed featureSet to 0x7b to enable PA, PFR, FA (plus other) features

---------

Co-authored-by: Restyled.io <commits@restyled.io>
Co-authored-by: James Harrow <james.harrow@gmail.com>
Co-authored-by: Hasty Granbery <hasty@granbery.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants