primitive: let primitive notice shutdowns too. The code for this should be rewritten.
primitive: let primitive notice shutdowns too. The code for this should be rewritten.

git-svn-id: bf82309ee31681273af20a825c7064ea7c5af838@1297148 13f79535-47bb-0310-9956-ffa450edef68

stroucki/tashi,stroucki/tashi,stroucki/tashi