According to wikipedia,
So, what if stalin commited suicide and died after his wife's death?Stalin met his first wife, Ekaterina Svanidze, in late 1905 when he moved into the Tiflis townhouse where she lived. They were married on the night of July 28 1906. On March 31 1907, she gave birth to Stalin's first child, Yakov. In June 1907, after robbing the bank in Tiflis to fund the Bolshevik cause, Stalin and his family fled east to Baku. Stalin was frequently absent as he conducted revolutionary work across Georgia. Meanwhile, his Ekaterina suffered under the pollution and heat of Baku, which was an oil boomtown. She contracted typhus and died on December 5 1907. Stalin was devastated by her death; fearing he was suicidal, his friends took away his pistol.