Take a look at calendar.module, calendar_remove():

// Delete it from the database, if stored there.
  if ($view = views_get_view($view_name)) {

The same bug still exist in the dev.

Patch for 6.x-2.4 attached.

Files: 
CommentFileSizeAuthor
calendar.module.patch662 bytesquiptime

Comments

Status:Active» Needs review

Changing status, as there is a patch.