session-item: check for core before adding closure if proxy is destroyed

1 job for destroy-fixes in 2 minutes and 15 seconds (queued for 1 second)
Status Job ID Name Coverage
  Test
passed #2703569
build

00:02:15