Taking Assange out will not stop the material. There are dozens, or perhaps even hundreds, of people in on this that, if he should be killed, will release the information on his behalf.
Nevertheless, there was apparently some sort of security penetration of the embassy where Assange is staying that could have been a danger for him.