layers: Move call to validateCommandBuffersNotInUse inside lock
authorTony Barbour <tony@LunarG.com>
Thu, 7 Apr 2016 00:17:57 +0000 (18:17 -0600)
committerTony Barbour <tony@LunarG.com>
Thu, 7 Apr 2016 00:27:04 +0000 (18:27 -0600)
commit529c085a368389ae8068f90f481676ed075ee220
tree814c8bc77b32cf241efe9cf4c63a503105893f40
parenta79d7d19e6451b96f5c601626592ec342993a4ab
layers: Move call to validateCommandBuffersNotInUse inside lock

Fixes segv in CTS multithreaded command pool test

Change-Id: I80da12fd2bb6856e3c6824f17dd92f1597121a54
layers/core_validation.cpp