func (de *DubboExporter) Unexport() {
	url := de.GetInvoker().GetURL()
	serviceId := url.GetParam(constant.BEAN_NAME_KEY, "")
	interfaceName := url.GetParam(constant.INTERFACE_KEY, "")
	de.BaseExporter.Unexport()
	err := common.ServiceMap.UnRegister(interfaceName, tripleConstant.TRIPLE, serviceId)
	if err != nil {
		logger.Errorf("[DubboExporter.Unexport] error: %v", err)
	}
	de.serviceMap.Delete(interfaceName)
}
Unexport unexport dubbo3 service exporter.
package dubbo3
import (
	"sync"
)
import (
	tripleConstant "github.com/dubbogo/triple/pkg/common/constant"
)
import (
	"dubbo.apache.org/dubbo-go/v3/common"
	"dubbo.apache.org/dubbo-go/v3/common/constant"
	"dubbo.apache.org/dubbo-go/v3/common/logger"
	"dubbo.apache.org/dubbo-go/v3/protocol"
)
type DubboExporter struct {
	protocol.BaseExporter
	serviceMap *sync.Map
}
func NewDubboExporter(key string, invoker protocol.Invoker, exporterMap *sync.Map, serviceMap *sync.Map) *DubboExporter {
	return &DubboExporter{
		BaseExporter: *protocol.NewBaseExporter(key, invoker, exporterMap),
		serviceMap:   serviceMap,
	}
}