mirror of
https://github.com/qmlnet/qmlnet.git
synced 2026-05-15 14:15:54 -06:00
[PR #36] [MERGED] NetReferences don't use GCHandles any more #181
Labels
No labels
bug
enhancement
help wanted
help wanted
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/qmlnet#181
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/qmlnet/qmlnet/pull/36
Author: @devmil
Created: 7/24/2018
Status: ✅ Merged
Merged: 7/24/2018
Merged by: @pauldotknopf
Base:
master← Head:features/GCHandle_free_NetReferences📝 Commits (10+)
d7b6818NetReferences don't use GCHandles any more8620f48Review changes, ObjectTaggerTests are now disabled56850dcNetReference.Instance: Throw instead of returning null140b48bObjectTagger is now non-staticc9226feObjectTagger: lock against race conditions6fe2f25Merge branch 'improvement/ObjectTagger_tests' into features/GCHandle_free_NetReferences58f9e6benable ObjectTagger unit tests again0e7b63fObjectId robustness increased25c7e9cMerge branch 'master' into features/GCHandle_free_NetReferences6586439Added a bench mark project.📊 Changes
17 files changed (+265 additions, -120 deletions)
View changed files
📝
src/native/QmlNet/QmlNet/qml/NetValue.cpp(+1 -5)📝
src/native/QmlNet/QmlNet/types/Callbacks.cpp(+6 -6)📝
src/native/QmlNet/QmlNet/types/Callbacks.h(+1 -1)📝
src/native/QmlNet/QmlNet/types/NetReference.cpp(+4 -26)📝
src/native/QmlNet/QmlNet/types/NetReference.h(+1 -5)➕
src/net/Qml.Net.Benchmarks/Config.cs(+15 -0)➕
src/net/Qml.Net.Benchmarks/Program.cs(+12 -0)➕
src/net/Qml.Net.Benchmarks/Qml.Net.Benchmarks.csproj(+13 -0)➕
src/net/Qml.Net.Benchmarks/ReferenceBenchmarks.cs(+93 -0)📝
src/net/Qml.Net.sln(+6 -0)📝
src/net/Qml.Net/Internal/Behaviors/MVVMQmlInteropBehavior.cs(+11 -44)📝
src/net/Qml.Net/Internal/DefaultCallbacks.cs(+2 -2)📝
src/net/Qml.Net/Internal/IQmlInteropBehavior.cs(+2 -2)📝
src/net/Qml.Net/Internal/InteropBehaviors.cs(+4 -4)📝
src/net/Qml.Net/Internal/Types/Callbacks.cs(+10 -10)📝
src/net/Qml.Net/Internal/Types/NetReference.cs(+82 -14)📝
src/net/Qml.Net/Properties.cs(+2 -1)📄 Description
References are counted manually on .Net side
Behaviors now don't get an event on each NetReference create / delete but when an .Net object enters Native the first time and when it leaves the Native space
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.