Skip to content

Commit 9df4cbd

Browse files
RELEASE 2021.1 hotfix patch 13.09
1 parent d640a7e commit 9df4cbd

22 files changed

Lines changed: 3414 additions & 3115 deletions
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
package su.interference.core;
2+
3+
public interface EventProcessor {
4+
boolean process(Object event);
5+
boolean delete();
6+
}

src/main/java/su/interference/core/TransCleanUp.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
The MIT License (MIT)
33
4-
Copyright (c) 2010-2020 head systems, ltd
4+
Copyright (c) 2010-2021 head systems, ltd
55
66
Permission is hereby granted, free of charge, to any person obtaining a copy of
77
this software and associated documentation files (the "Software"), to deal in
@@ -90,7 +90,8 @@ private void cleanUp() {
9090
//deallocate undo frame
9191
final FrameData ub = Instance.getInstance().getFrameById(tf.getUframeId());
9292
//store frame params as free
93-
if (!hasfb) {
93+
//todo undo space may not be not deallocated - check ub for not null
94+
if (!hasfb && ub != null) {
9495
final FreeFrame fb = new FreeFrame(0, tf.getUframeId(), ub.getSize());
9596
session.persist(fb); //insert
9697
session.delete(ub);

0 commit comments

Comments
 (0)