Skip to content

Commit

Permalink
Avoid PlatformMgr shutdown by Controller Factory
Browse files Browse the repository at this point in the history
  • Loading branch information
samadDotDev committed Aug 24, 2022
1 parent 3cf9fcc commit 6135847
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/toolchain/yocto/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.

import("//build_overrides/build.gni")
import("//build/config/yocto.gni")
import("//build/toolchain/gcc_toolchain.gni")
import("//build_overrides/build.gni")

gcc_toolchain("yocto_arm") {
ar = yocto_ar
Expand Down
2 changes: 1 addition & 1 deletion src/controller/CHIPDeviceControllerFactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ void DeviceControllerSystemState::Shutdown()
// Consumers are expected to call PlaformMgr().StopEventLoopTask() before calling
// DeviceController::Shutdown() in the CONFIG_DEVICE_LAYER configuration
//
DeviceLayer::PlatformMgr().Shutdown();
// DeviceLayer::PlatformMgr().Shutdown();
#endif

if (mExchangeMgr != nullptr)
Expand Down

0 comments on commit 6135847

Please sign in to comment.