Comments (7)
To which value you setted the shutdown timeout in host builder?
from coreclr-module.
Currently the default value, but using for example 1s isn't changing the behaviour.
collection.Configure<HostOptions>(o => o.ShutdownTimeout = TimeSpan.FromSeconds(1));
from coreclr-module.
Can you add a console log after await _host.StartAsync(); in OnStart?
from coreclr-module.
Gets called:
[07:19:00] Loading resource test
Start
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
Content root path: /opt/altv
Started
[07:19:00] Loaded resource test
from coreclr-module.
Seems good. But i dont know how hostbuilder works internally and i dont know If its possible to stop programmatically with that.
from coreclr-module.
Okay, so this seems like a wont fix. I will look into it further and keep the issue updated.
But I guess this won't really affect me very much.
from coreclr-module.
I also started with HostBuilder and all the stuff, but this is wrong for working with altV.
HostBuilder should be used in executing assemblies. Your module gets loaded by altv.exe and therefore should not implement HostBuilder.
Nevertheless, all the advantages can be used as standalone by your own (stuff like Configuration, Dependency Injection, Logging ...).
from coreclr-module.
Related Issues (20)
- CreateVirtualEntity: Attempted to read or write protected memory HOT 3
- IAudioFilter is missing
- Client crash on MValue use HOT 2
- Alt.CreateVirtualEntity Range HOT 1
- player.SetStreamSyncedMetaData crash HOT 1
- Rendering multiple entities OnWorldObjectStreamIn/Out callback gets called multiple times HOT 6
- CreateAudioOutputAttached broken HOT 1
- ScriptEventType Incomplete
- AltAsync.WaitFor crashes HOT 1
- AltAsync.OnScriptRpc throws weird IO exception when either client emits with parameters or server try to answer HOT 8
- [Feature Request] Custom MValue adapter support for RPC event handler HOT 1
- Enums and/or MValue adapters not working properly for VirtualEntities
- Event WeaponDamage on Sync Usage Alltime Cancel HOT 8
- AltAsync.OnScriptRpc HOT 1
- Missing Functions like .On and .SetInterval on the Server HOT 1
- [C# client] `ScriptRPCEvent.WillAnswer` does not work HOT 4
- player.SetDecoration is broken HOT 1
- [C# client] This simple `Func<float, float>` crashes the client HOT 1
- [C#] Event with numerics (enum/int/byte) argument triggers NullReferenceException
- [C# module] Meta Data doesn't support Collections
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coreclr-module.