// delete deletes the msg under the given seq id.
delete deletes the msg under the given seq id.
// delete deletes the msg under the given seq id .
func (m *sharedMap) delete(seqID int32) {
	if seqID == 0 {
		return
	}
	shard := m.getShard(seqID)
	shard.Lock()
	delete(shard.msgs, seqID)
	shard.Unlock()
}
func ( m * sharedMap ) delete ( seqID int32 ) { if seqID == 0 { return } shard := m . getShard ( seqID ) shard . Lock ( ) delete ( shard . msgs , seqID ) shard . Unlock ( ) }
delete deletes the msg under the given seq id.
delete deletes the msg under the given seq id .