Collapse of a binary stellar system