Commit 0384867d authored by Larry Sachs's avatar Larry Sachs

Reset deviceIndex in systemShutdown()

On a systemShutdown() call the deviceIndex is set to zero and
the deviceIndexLookup Map is cleared.

Change-Id: I7d0607ad7bafe3933b6b038c5dcc09c458a7aa5f
Signed-off-by: Larry Sachs's avatarLarry Sachs <larry.j.sachs@intel.com>
parent 0bc046a5
......@@ -26,6 +26,8 @@ public class OcPlatform {
public void systemShutdown() {
OCMain.mainShutdown();
deviceIndex.set(0);
deviceIndexLookup.clear();
}
public void systemInit(OCMainInitHandler mainInitHandler) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment