mirror of
https://github.com/esiur/esiur-js.git
synced 2026-04-03 21:48:21 +00:00
Deadlock prevention
This commit is contained in:
@@ -7,7 +7,7 @@ export default class PropertyModificationInfo {
|
||||
return this.propertyTemplate.name;
|
||||
}
|
||||
|
||||
PropertyModificationInfo(
|
||||
constructor(
|
||||
resource, propertyTemplate, value, age) {
|
||||
this.resource = resource;
|
||||
this.propertyTemplate = propertyTemplate;
|
||||
|
||||
@@ -545,7 +545,7 @@ export default class TypeTemplate {
|
||||
|
||||
offset += dt.size;
|
||||
|
||||
let parsed = Codec.parse(data, offset, null);
|
||||
let parsed = Codec.parse(data, offset, null, null);
|
||||
|
||||
offset += parsed.size;
|
||||
|
||||
|
||||
@@ -47,7 +47,9 @@ import { Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64, Float32, Floa
|
||||
import Record from '../Data/Record.js';
|
||||
import TypedMap from '../Data/TypedMap.js';
|
||||
import {RepresentationType, RepresentationTypeIdentifier} from '../Data/RepresentationType.js';
|
||||
import FactoryEntry from './FactoryEntry.js'; './FactoryEntry.js';
|
||||
import FactoryEntry from './FactoryEntry.js';
|
||||
import IEnum from '../Data/IEnum.js';
|
||||
|
||||
export class WH extends IEventHandler
|
||||
{
|
||||
constructor()
|
||||
@@ -328,6 +330,8 @@ export class WH extends IEventHandler
|
||||
templateType = TemplateType.Resource;
|
||||
else if (type.prototype instanceof IRecord)
|
||||
templateType = TemplateType.Record;
|
||||
else if (type.prototype instanceof IEnum)
|
||||
templateType = TemplateType.Enum;
|
||||
else
|
||||
return null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user