Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ commands:
type: string
steps:
- run: |
brew install [email protected]
# brew install [email protected]
curl -OL "https://github.com/bazelbuild/bazelisk/releases/download/v1.17.0/bazelisk-darwin-<<parameters.bazel-arch>>"
sudo mv "bazelisk-darwin-<<parameters.bazel-arch>>" /usr/local/bin/bazel
chmod a+x /usr/local/bin/bazel
Expand Down Expand Up @@ -149,7 +149,7 @@ commands:
steps:
- install-brew-rosetta
- run: |
/usr/local/bin/brew install [email protected]
# /usr/local/bin/brew install [email protected]
tool/test/start-community-server.sh
/usr/local/bin/python3.9 -m pip install wheel
/usr/local/bin/python3.9 -m pip install pip==21.3.1
Expand Down Expand Up @@ -850,32 +850,32 @@ workflows:
- deploy-snapshot-linux-arm64:
filters:
branches:
only: [development, master, "3.0"]
only: [development, master, improve-on-close-callback]

- deploy-snapshot-linux-x86_64:
filters:
branches:
only: [development, master, "3.0"]
only: [development, master, improve-on-close-callback]

- deploy-snapshot-mac-arm64:
filters:
branches:
only: [development, master, "3.0"]
only: [development, master, improve-on-close-callback]

- deploy-snapshot-mac-x86_64:
filters:
branches:
only: [development, master, "3.0"]
only: [development, master, improve-on-close-callback]

- deploy-snapshot-windows-x86_64:
filters:
branches:
only: [development, master, "3.0"]
only: [development, master, improve-on-close-callback]

- deploy-snapshot-any:
filters:
branches:
only: [development, master, "3.0"]
only: [development, master, improve-on-close-callback]
requires:
- deploy-snapshot-linux-arm64
- deploy-snapshot-linux-x86_64
Expand Down
107 changes: 74 additions & 33 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions c/src/transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ pub extern "C" fn transaction_close(txn: *mut Transaction) {

/// Forcibly closes this transaction. To be used in exceptional cases.
#[no_mangle]
pub extern "C" fn transaction_force_close(txn: *mut Transaction) {
borrow_mut(txn).force_close();
pub extern "C" fn transaction_force_close(txn: *mut Transaction) -> *mut VoidPromise {
release(VoidPromise(Box::new(borrow_mut(txn).force_close())))
}

/// Commits the changes made via this transaction to the TypeDB database.
Expand Down
Loading