Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
microsoft
/
node-api-dotnet
Public
Notifications
You must be signed in to change notification settings
Fork
80
Star
781
Code
Issues
66
Pull requests
11
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Improve object safety
- #500
#500
Draft
Vladimir Morozov (vmoroz)
wants to merge 22 commits into
microsoft:main
microsoft/node-api-dotnet:main
from
vmoroz:PR/improve-object-safety
vmoroz/microsoft-node-api-dotnet:PR/improve-object-safety
Copy head branch name to clipboard
Conversation
Commits
22
(22)
Checks
Files changed
Draft
Improve object safety
#500
Vladimir Morozov (vmoroz)
wants to merge 22 commits into
microsoft:main
microsoft/node-api-dotnet:main
from
vmoroz:PR/improve-object-safety
vmoroz/microsoft-node-api-dotnet:PR/improve-object-safety
Copy head branch name to clipboard
Commits
Commits on Aug 27, 2026
Improve object safety
Vladimir Morozov (vmoroz)
committed
d554115
View commit details
Copy full SHA for d554115
Browse repository at this point
Address Copilot review: scope/context correctness + per-env host teardown
Show description for c1e47c0
Vladimir Morozov (vmoroz)
committed
c1e47c0
View commit details
Copy full SHA for c1e47c0
Browse repository at this point
Fix formatting
Vladimir Morozov (vmoroz)
committed
3a0345b
View commit details
Copy full SHA for 3a0345b
Browse repository at this point
Free runtime context root at teardown
Show description for e1ed27e
Vladimir Morozov (vmoroz)
committed
e1ed27e
View commit details
Copy full SHA for e1ed27e
Browse repository at this point
Reuse one JSRuntimeContext per env in embedding adapters
Show description for 2454f05
Vladimir Morozov (vmoroz)
committed
2454f05
View commit details
Copy full SHA for 2454f05
Browse repository at this point
Commits on Aug 28, 2026
Dispose IDisposable module instance at environment teardown
Show description for d217d0d
Vladimir Morozov (vmoroz)
committed
d217d0d
View commit details
Copy full SHA for d217d0d
Browse repository at this point
Document the runtime model and add agent instructions
Show description for 85e2611
Vladimir Morozov (vmoroz)
committed
85e2611
View commit details
Copy full SHA for 85e2611
Browse repository at this point
Harden SetDisposableAnnotation against post-dispose and replacement
Show description for 047ed0b
Vladimir Morozov (vmoroz)
committed
047ed0b
View commit details
Copy full SHA for 047ed0b
Browse repository at this point
Give each loaded module its own module holder
Show description for a4e6e42
Vladimir Morozov (vmoroz)
committed
a4e6e42
View commit details
Copy full SHA for a4e6e42
Browse repository at this point
Return a context from FromEnv only when it matches the env
Show description for 3b84450
Vladimir Morozov (vmoroz)
committed
3b84450
View commit details
Copy full SHA for 3b84450
Browse repository at this point
Address pre-PR code review: shared-context module disposal
Show description for 65ec52e
Vladimir Morozov (vmoroz)
committed
65ec52e
View commit details
Copy full SHA for 65ec52e
Browse repository at this point
Free the env instance-data block at teardown; fix module-disposable dedup and failed managed-init leak
Show description for ba16dce
Vladimir Morozov (vmoroz)
committed
ba16dce
View commit details
Copy full SHA for ba16dce
Browse repository at this point
Pin JSRuntimeContext to its creation thread
Show description for e5114f4
Vladimir Morozov (vmoroz)
committed
e5114f4
View commit details
Copy full SHA for e5114f4
Browse repository at this point
Harden runtime-context construction and scope entry
Show description for 5dc04b6
Vladimir Morozov (vmoroz)
committed
5dc04b6
View commit details
Copy full SHA for 5dc04b6
Browse repository at this point
Run full host disposal from the JS dispose() hook
Show description for 7ab932b
Vladimir Morozov (vmoroz)
committed
7ab932b
View commit details
Copy full SHA for 7ab932b
Browse repository at this point
Guard lazy sync-context creation; report a stackless init error
Show description for 372ce30
Vladimir Morozov (vmoroz)
committed
372ce30
View commit details
Copy full SHA for 372ce30
Browse repository at this point
Dispose exports reference on host dispose; clarify finalizer doc
Show description for 1ca52e2
Vladimir Morozov (vmoroz)
committed
1ca52e2
View commit details
Copy full SHA for 1ca52e2
Browse repository at this point
Trim NativeHost.Dispose comments
Show description for 31e752d
Vladimir Morozov (vmoroz)
committed
31e752d
View commit details
Copy full SHA for 31e752d
Browse repository at this point
Commits on Aug 29, 2026
Contain managed-host scope creation in the failure path; harden stress test
Show description for 43db3ae
Vladimir Morozov (vmoroz)
committed
43db3ae
View commit details
Copy full SHA for 43db3ae
Browse repository at this point
Guard native-host init at the boundary; safe slot-clear order; net472 global.json cleanup
Show description for 54e0f60
Vladimir Morozov (vmoroz)
committed
54e0f60
View commit details
Copy full SHA for 54e0f60
Browse repository at this point
Commits on Aug 30, 2026
Document native-host context finalizer ownership in the init catch
Show description for a6edc79
Vladimir Morozov (vmoroz)
committed
a6edc79
View commit details
Copy full SHA for a6edc79
Browse repository at this point
Guard managed-host and generated-AOT entry points at the boundary
Show description for ca4d8fb
Vladimir Morozov (vmoroz)
committed
ca4d8fb
View commit details
Copy full SHA for ca4d8fb
Browse repository at this point
You can’t perform that action at this time.