Skip to content

Commit

Permalink
ndk-glue: Add missing entries to changelog and perform patch release …
Browse files Browse the repository at this point in the history
…0.3.1 (#165)

* ndk-glue/changelog: Add missing race-condition and deadlock fixes

* ndk-glue: Release version 0.3.1
  • Loading branch information
MarijnS95 authored Jul 29, 2021
1 parent edba2c0 commit d93b6e0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions ndk-glue/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Unreleased

# 0.3.1 (2021-07-29)

- Looper is now created before returning from `ANativeActivity_onCreate`, solving
race conditions in `onInputQueueCreated`.
- Event pipe and looper are now notified of removal _before_ destroying `NativeWindow`
and `InputQueue`. This allows applications to unlock their read-locks of these instances
first (which they are supposed to hold on to during use) instead of deadlocking in
Android callbacks.
- Reexport `android_logger` and `log` from the crate root for `ndk-macro` to use.
- Use new `FdEvents` `bitflags` for looper file descriptor events.

Expand Down
2 changes: 1 addition & 1 deletion ndk-glue/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ndk-glue"
version = "0.3.0"
version = "0.3.1"
authors = ["The Rust Windowing contributors"]
edition = "2018"
description = "Startup code for android binaries"
Expand Down

0 comments on commit d93b6e0

Please sign in to comment.