Make cycle detection FATAL instead of throw and disable it in opt mode
Summary: Cycle detection can be very expensive, so it's better to disable it in opt mode. Because of that we need to make sure we catch such cycles in dbg builds, so we have to replace exceptions with LOG(FATAL). Reviewed By: joshkirstein Differential Revision: D29367695 fbshipit-source-id: 9c2038eb5b42f98f4ab997f963b6a131b8d26cf9
Showing
Please register or sign in to comment