summaryrefslogtreecommitdiff
path: root/src/io
diff options
context:
space:
mode:
Diffstat (limited to 'src/io')
-rw-r--r--src/io/timed_cache.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/io/timed_cache.erl b/src/io/timed_cache.erl
index 132b70f..d76a4f0 100644
--- a/src/io/timed_cache.erl
+++ b/src/io/timed_cache.erl
@@ -98,9 +98,9 @@ update (DB, Owner, ObjectID, Data) ->
[] -> ok;
[{_OwnerID, TimerPID, _Data}] ->
- gen_server:stop(TimerPID),
+ gen_server:stop(TimerPID)
end,
- add_update_to_cache(DB, Owner, ObjectID);
+ add_update_to_cache(DB, Owner, ObjectID, Data).
invalidate (DB, Owner, ObjectID) ->