Update array.cpp

添加DetachShm