[Chris, Evgeny] Fixed memory leak on component destruction