LocalStorage::Api::ILocalStoragePtr getLocalStorage(int widgetId)
{
- static int id = widgetId;
- Assert(id == widgetId && "SPA is not longer supported");
-
- static LocalStorage::Api::ILocalStoragePtr storage(
+ LocalStorage::Api::ILocalStoragePtr storage(
LocalStorage::Api::getLocalStorage(widgetId));
return storage;