Strip frameworks

This commit is contained in:
Neil Alexander 2021-02-19 14:19:35 +00:00
parent 39ba463902
commit 73c0ea9ff1
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
2 changed files with 3 additions and 3 deletions

View file

@ -6,8 +6,8 @@ while getopts "ai" option
do do
case "$option" case "$option"
in in
a) gomobile bind -v -target android github.com/matrix-org/dendrite/build/gobind-pinecone ;; a) gomobile bind -v -target android -trimpath -ldflags="-s -w" github.com/matrix-org/dendrite/build/gobind-pinecone ;;
i) gomobile bind -v -target ios github.com/matrix-org/dendrite/build/gobind-pinecone ;; i) gomobile bind -v -target ios -trimpath -ldflags="-s -w" github.com/matrix-org/dendrite/build/gobind-pinecone ;;
*) echo "No target specified, specify -a or -i"; exit 1 ;; *) echo "No target specified, specify -a or -i"; exit 1 ;;
esac esac
done done

View file

@ -356,8 +356,8 @@ func (m *DendriteMonolith) Stop() {
_ = m.listener.Close() _ = m.listener.Close()
m.PineconeMulticast.Stop() m.PineconeMulticast.Stop()
_ = m.PineconeQUIC.Close() _ = m.PineconeQUIC.Close()
_ = m.PineconeRouter.Close()
m.processContext.ShutdownDendrite() m.processContext.ShutdownDendrite()
_ = m.PineconeRouter.Close()
} }
func (m *DendriteMonolith) Suspend() { func (m *DendriteMonolith) Suspend() {