Merge "Fix race condition in resize that was created when GetType for allocation and Types became async."