project-hatohol/hatohol — pull request #479 by kz0817 (2014-09-01 08:27:56+00:00)
Title: [testFaceRestHost] Remove a global variable to simplify code.

The old version of cutter doesn't call destructors of objects on a stack due to the internal mechanism using setjmp/calljmp when an assertion fails. So we have to aggregate free mechanisms to cut_teardown(). It made us use a global variable.

However, the problem has been solved now. So we can safely define an object on the stack.