[ damus-io/damus ] Add sync mechanism to prevent background crashes and fix ndb reopen order
This adds a sync mechanism in Ndb.swift to coordinate certain usage of
nostrdb.c calls and the need to close nostrdb due to app lifecycle
requirements. Furthermore, it fixes the order of operations when
re-opening NostrDB, to avoid race conditions where a query uses an older
Ndb generation.
This sync mechanism allows multiple queries to happen simultaneously
(from the Swift-side), while preventing ndb from simultaneously closing
[ arbadacarbaYK/gittr ] Fix home icon logo navigation on repo page
- Use window.location.href directly instead of router.push
- Matches the navigation pattern used by all other links on repo page
- Ensures reliable navigation that works consistently across all pages