示例#1
0
 public void Dispose()
 {
     _connection.Dispose();
     _storage.Dispose();
 }
 public override void OnApplicationShutdown(ApplicationShutdownContext context)
 {
     _jobStorage?.Dispose();
 }