ensure a buffer is not referenced a second time, just before actually deleting it
ensure a buffer is not referenced a second time, just before actually deleting it

It can happen in certain case that a buffer gets referenced after it
gets moved to the trash, for example when it gets deleted during its
construction (due to BufCreate hook for example).

alexherbo2/kakoune,mawww/kakoune,casimir/kakoune,casimir/kakoune,alpha123/kakoune,mawww/kakoune,lenormf/kakoune,casimir/kakoune,Somasis/kakoune,ekie/kakoune,flavius/kakoune,jkonecny12/kakoune,jjthrash/kakoune,elegios/kakoune,ekie/kakoune,mawww/kakoune,alpha123/kakoune,alexherbo2/kakoune,occivink/kakoune,ekie/kakoune,elegios/kakoune,danr/kakoune,jjthrash/kakoune,ekie/kakoune,zakgreant/kakoune,Somasis/kakoune,Asenar/kakoune,zakgreant/kakoune,jjthrash/kakoune,flavius/kakoune,Somasis/kakoune,Asenar/kakoune,Asenar/kakoune,alpha123/kakoune,alexherbo2/kakoune,alexherbo2/kakoune,lenormf/kakoune,jjthrash/kakoune,flavius/kakoune,lenormf/kakoune,occivink/kakoune,danr/kakoune,Asenar/kakoune,casimir/kakoune,zakgreant/kakoune,alpha123/kakoune,zakgreant/kakoune,danr/kakoune,elegios/kakoune,jkonecny12/kakoune,flavius/kakoune,lenormf/kakoune,jkonecny12/kakoune,mawww/kakoune,occivink/kakoune,Somasis/kakoune,elegios/kakoune,danr/kakoune,jkonecny12/kakoune,occivink/kakoune