Fix indirect call to null error and logging.sh worktree support

wxwidgets submodule:
- Add m_isCreated flag to skip UpdateElementRegistry() during construction
- Prevents virtual method calls on partially constructed objects

scripts/common/logging.sh:
- Change -d to -e for .git check to support git worktrees

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Viktor Vaczi 2026-01-05 16:25:11 +01:00
commit 5d93e11358
2 changed files with 2 additions and 2 deletions

View file

@ -27,7 +27,7 @@ _SCRIPT_NAME="$(basename "${_CALLER_SCRIPT}" .sh)"
# Find project root (walk up looking for .git)
_PROJECT_ROOT="${_CALLER_DIR}"
while [[ ! -d "${_PROJECT_ROOT}/.git" ]] && [[ "${_PROJECT_ROOT}" != "/" ]]; do
while [[ ! -e "${_PROJECT_ROOT}/.git" ]] && [[ "${_PROJECT_ROOT}" != "/" ]]; do
_PROJECT_ROOT="$(dirname "${_PROJECT_ROOT}")"
done