The call to clearShapes() cleared the list and deleted items, which was what pShape was pointing to -> crash.
Sürükleyip bırakarak bir dosya ekle veya yüklemek için tıklayın